Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Expected response code 250 but got code “530”, with message “530 5.7.1 Authentication required

I got stuck on this error I trying to configure SMTP mail on laravel

here is my configuration on .env file

This is Solved this Error

your mail.php on config you declare host as smtp.mailgun.org and port is 587 while on env is different. you need to change your mail.php to

if you desire to use mailtrap.Then run this command

php artisan config:cache

env() helper makes the job and there is no need to change values in mail.php. Just ensure that all email settings in .env file are correct

dharmendra K
Tagged : / /
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x