Again Mailgun always gives me "550 5.7.1 Relaying denied "
I am a little bit desperate no matter what I try mailgun always gives me "550 5.7.1 Relaying denied". I pretty sure I set everything up properly but I cant use Mail::to(). My domain is verified on mailgun my .env variables are set like so
But the from address should look like for example [email protected] if i understood it correct and thats the case. My domain is verified from mailgun does it matter whats in front of @mg.domain.com?
Thank you! Was pulling my hair why my production wouldn't send mails anymore -timing couldn't be worse. Forgot to document that the ENV value was changed. :doh!:
After hours of trying to figure out why I'm getting a "relay denied" error when trying to send mail via Laravel (I can send directly from the Terminal with via mail [Ubuntu server]), I found this gem -- thanks! I'm seeing that Laravel is trying vainly to send to "smtp.mailgun.org" and not my mail server... Wish me luck! :)