Send emails using Gmail in Laravel 5

Troubleshoot with Gmail and Laravel. Why can't send mails with Gmail account, and what we have to change in Gmail settings in order to work with Laravel!

First, go to:

Take a look at the Sign-in & security -> Connected apps & sites -> Allow less secure apps settings.

You must turn the option "Allow less secure apps" ON.

Once complete, edit the .env file:


If you get this error when sending email: "Failed to authenticate on SMTP server with username "" using 3 possible authenticators". You may try one of these methods. First go to: Click continue and unlock your account for access through other media/sites.

And second method:

Using a double quote password: "your password"