Expected response code 250 but got code "530", with message "530 Authentication required gmail code example
Example: swift_transportexception expected response code 250 but got code "530", with message "530 5.7.1 authentication required "
1.change mail driver
MAIL_DRIVER=sendmail
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
2.clear config cache
php artisan config:clear