Reputation: 1115
I'm implementing email sending portal with laravel but it is giving me an error which is given below :
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
".
Upvotes: 0
Views: 669
Reputation: 881
Make sure that you don't have 2-Step Verification
turned ON with the account you're using and then login the email account on your browser then click this link to allow less secure apps to connect to your GMail Account.
Upvotes: 1