Mail foundation doesn't still work via the SMTP server of Gmail.

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Ryu
Posts: 11
Joined: 17 Apr 2018, 09:57

Mail foundation doesn't still work via the SMTP server of Gmail.

Post by Ryu »

Although I seem this feature can complete with no problem on all work of indecent report, user registration and password reset...
I can't receive any maii.

Questions are;
Since I use IIS 10 as web server, should I the SMTP mail function of IIS?
Although I am setting a same email address into the following statement, is it okay?
$g_smtp_username
$g_from_email
$g_return_path_email

Setting parameters are below;
*config_inc.php
// GMAIL
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = "smtp.gmail.com";
$g_smtp_port = 587;
$g_smtp_username = "Same@gmail.com";
$g_smtp_password = "password";
$g_smtp_connection_mode = 'tls';
$g_webmaster_email = '**@gmail.com';
$g_from_email = 'Same@gmail.com';
$g_return_path_email = 'Same@gmail.com';

*php.ini
extension=php_openssl.dll

Kind regards,
Ryu
Post Reply