我正在使用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
".
答案 0 :(得分:1)
请确保您没有2-Step Verification
使用所使用的帐户打开 打开 ,然后在浏览器中登录电子邮件帐户,然后{ {3}}链接可允许安全性较差的应用程序连接到您的GMail帐户。