【发布时间】:2019-10-06 04:29:02
【问题描述】:
我正在尝试在 Laravel 中重置密码电子邮件控制器。
我在 .env 文件中更改我的 MAIL 配置,如下所示:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.aruba.it
MAIL_PORT=465
MAIL_USERNAME=xxxxxxxxxxxx
MAIL_PASSWORD=xxxxxxxxxxxx
MAIL_ENCRYPTION=SSL
我收到了这个错误:
Swift_TransportException
Failed to authenticate on SMTP server with username
"xxxxxxxxxxxx" using 2 possible authenticators.
Authenticator LOGIN returned Expected response code 235 but got code
"535", with message "535 5.7.0 ...authentication rejected ".
Authenticator PLAIN returned Expected response code 235 but got code
"535", with message "535 5.7.0 ...authentication rejected
我该如何解决?
【问题讨论】: