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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -