Error with sending password reset email Laravel 5.4 -


this first time configure mail send password reset. checked less secured active. getting error

expected response code 250 got code "530", message "530 5.7.0  must issue starttls command first. g63sm30213782wme.11 - gsmtp" 

here configuration

mail_driver=smtp mail_host=smtp.gmail.com mail_port=587 mail_username=hmshafik10@gmail.com mail_password=*********** mail_encryption=tls 

update tried use set mail data in config/mail.php. getting error

expected response code 250 got code "530", message "530-5.5.1  authentication required. learn more @ 530 5.5.1  https://support.google.com/mail/?p=wantautherror u189sm6330267wmg.18 - gsmtp" 

it don't variables .env file.

when editing .env file must clear cache

php artisan cache:clear  

and maybe best thing restart app if running

php artisan serve 

then stop , rerun again


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -