在 mantis bugs tracker 中,当我创建新用户并按下重置密码按钮时,它无法将重置密码电子邮件发送给用户!!!!为什么??
或者,是否有任何配置让它发送重置密码邮件?
这是我的电子邮件配置:
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = 'root';
$g_allow_signup = ON;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_send_reset_password=ON;
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_from_email= 'Waseelac@gmail.com';
$g_smtp_username = 'Waseelac@gmail.com'; //replace it with your gmail address
$g_smtp_password = '******'; //replace it with your gmail password
$g_administrator_email = 'mohammad.hasan@waseela-net.com';
最佳答案
这是因为谷歌在几周内要求您使用 SSL。所以将 connection_mode 更改为 ssl 并将端口更改为 465。
关于php - Mantis bug tracker 没有发送重置密码邮件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19268613/