问答详情
源自:5-2 Laravel中的邮件发送

发邮件报错误535(问题已解决)

Failed to authenticate on SMTP server with username "phpervip@163.com" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Error: authentication failed ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535Error: authentication failed ".

非常谢谢。

https://img1.mukewang.com/5cf36fb80001db1711220236.jpg

https://img.mukewang.com/5cf36fb90001158314280204.jpg

https://img2.mukewang.com/5cf36fb90001cc1b28460866.jpg

问题如上:

解决如下:

MAIL_PASSWORD
要填授权码,不是邮箱密码。



提问者:yyii 2019-06-02 14:43

个回答

  • weixin_慕丝6341606
    2023-11-18 01:19:41

    Mail::raw()没问题,Mail:send()却有问题,Expected response code "250" but got code "440", with message "440 mail from account doesn't conform with authentication 不符合身份验证。Mail这个类文件是在根目录吗?

  • 慕梦前来
    2022-05-19 18:26:35

    正好我也遇到了,感谢分享

  • 慕梦前来
    2021-07-16 18:08:07

    这个问题分享得很好