Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29917

Laravel 6 never emails

$
0
0

I understand that Laravel no longer supports the mail() command that Wordpress and probably every other system use to simply send an email.

https://github.com/swiftmailer/swiftmailer/issues/866 shows that they now require smtp. Ok, but even if you sign up for a smtp service, and enter all the details as in:

https://www.bnmetrics.com/blog/sending-email-using-mailgun-laravel5

and php artisan config:cache ... repeatedly... with "smtp" or "mailgun" as the api, it never can even send the reset password built in to the Laravel user system.

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

What's worse is that it never changes from that error message, even if I set

MAIL_HOST=smtp.example.com

it is never a different error message. Which makes me think something is seriously wrong with Laravel Mail (other than the fact it forbids using the standard mail/sendmail that just about any proper configured server can do). Is there a way I can composer install version 5.4.4 which apparently was the last working version according to here, or is there a better way to get Laravel mail working... with or without external service smtp?


Viewing all articles
Browse latest Browse all 29917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>