在Vm Bitnami中的螳螂上设置gmail

问题描述 投票:0回答:1

下午好。

我无法通过gmail发送电子邮件

我已经授权访问Gmail帐户中不安全的应用程序,配置了config_inc.php文件,直到我从gmail收到有关某些应用程序尝试访问它的通知(Google活动警报),但它不会触发电子邮件。

我尝试了一些端口组合,但无济于事。

我该怎么办?

/***************************
* MantisBT Email Settings *
***************************/

$g_administrator_email    = '';
$g_webmaster_email        = '';
$g_from_email         = '';
$g_from_name          = 'Gestão de Defeitos | CapTeam';
$g_return_path_email  = '';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_username = 'email google';
$g_smtp_password = 'password correct';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
php email bitnami mantis
1个回答
-1
投票

这是普通的Gmail还是域/业务帐户?如果以后使用主帐户权限,则该设置可能会被其覆盖。

© www.soinside.com 2019 - 2024. All rights reserved.