Neethu Ah's avatar

Laraval Mail send- issue(Failed to authenticate on SMTP server with username...........................))

Failed to authenticate on SMTP server with username "[email protected]" using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned....

why this error shows. i changed my account security "Less secure app access" to on.

.env MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD="XXXXXXX" MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS="[email protected]" MAIL_FROM_NAME="${APP_NAME}"

0 likes
4 replies
sr57's avatar

@neethu ah

-1- Try port 465

-2- See any msg received from gmail?

Neethu Ah's avatar

i changed the port . but the same error shows

Please or to participate in this conversation.