Im trying to Mail in Laravel 5.1
my mail.php code is
return [ \'driver\' => env(\'MAIL_DRIVER\', \'smtp\'), \'host\' => env(\'MAIL_HOS
Change in .env file:
.env
MAIL_ENCRYPTION=tls
Clear cache:
php artisan config:cache
For Gmail accounts you need also turn on "Less secure app access" on https://myaccount.google.com/security. However that option shouldn't be changed on main account.