【发布时间】:2016-08-30 20:30:37
【问题描述】:
[UserFrosting 0.3.x]
我刚刚设置了 UserFrosting,一切看起来都正常,除了一件小事......
当用户去注册时,出现错误“尝试邮件时出现致命错误,请联系您的服务器管理员”
config-userfrosting.php中,smtp部分填写为:
'mail' => 'smtp',
'smtp' => [
'host' => 'smtp.scottywcreates.com',
'port' => 465,
'auth' => true,
'secure' => 'ssl',
'user' => 'userfrosting@scottywcreates.com',
'pass' => '------'
],
(密码被涂黑)
为什么会出现这个错误?
【问题讨论】:
标签: php smtp phpmailer userfrosting