1. gmail采用的是SSL,在config.inc.php里配置
$g_phpMailer_method = 2;
$g_smtp_host = ’ssl://smtp.gmail.com:465′;
$g_smtp_username = ‘address@mydomain.com’;
$g_smtp_password = ‘myPassword’;
2. 更新class.phpmailer.php, SmtpConnect() function fixed to deal with both the protocol and port being in the host string (it assumes only one colon in the host string)
3. 确认php开启openssl扩展,重新开启扩展的话记得重启web server
MantisBT 1.2.0a3 发信时如果bug标题过长也会变乱码
解决办法请参考该bug: http://www.mantisbt.org/bugs/view.php?id=10136
- spam
- offensive
- disagree
- off topic
Like