linux初学者~
分类: LINUX
2016-12-28 12:06:52
注意,QQ邮箱需要登陆web邮箱开启SMTP。如果是新开通的QQ邮箱,好像是15天无法配置,一定要小心!
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;$g_smtp_host = 'smtp.qq.com';$g_smtp_username = 'xxx@qq.com';$g_smtp_password = 'xxx';$g_webmaster_email = 'xxx@qq.com';$g_from_email = 'xxx@qq.com';$g_return_path_email = 'xxx@qq.com';