dwen's avatar
Level 3

Laragon Mail Sender

I tried to test Mail Sender on Laragon, after correctly entered Gmail Account Name and Password, clicked the button of Test Mail Sending, then it generated a message: "535-5.7.8 Username and Password not accepted." I am sure my Gmial Username and Password was accurate! Anyone had the same experience before?

0 likes
2 replies
dualklip's avatar
dualklip
Best Answer
Level 2

Hi @dwen

I had the same problem like you. In my case was related with a limitation that Google has to let third party apps access to the info. Sometimes your account could have TFA activated or SMS Verification, so that doesn't allow you to use your account from your Laravel application.

To solve that it's needed to authorised your application, but first is mandatory to have TFA activated in your account, otherwise Google doesn't show you the option: https://support.google.com/accounts/answer/185833?hl=en

  1. Activate the TFA in your account
  2. Create new password for your app here

Please or to participate in this conversation.