【发布时间】:2020-01-12 21:32:55
【问题描述】:
我正在使用 laravel 实现电子邮件发送门户,但它给了我一个错误,如下所示:
535 5.7.8 https://support.google.com/mail/?p=BadCredentials v21sm1478030pjy.3 - gsmtp
". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials v21sm1478030pjy.3 - gsmtp
". Authenticator XOAUTH2 returned Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials v21sm1478030pjy.3 - gsmtp
".
【问题讨论】:
-
在 .env 文件中再次检查您的凭据,或在此处粘贴您的 .env 文件邮件部分。你使用 gmail 邮件吗?如果是,你是否生成了 api 密钥
-
我已经更改了我的电子邮件安全性,现在它对我来说工作正常。谢谢!!!!