Search code examples
phplaravelmailgun

Mailgun with Laravel 5.1 get 404 error


Today i tryed to implement mailgun to Laravel 5.1 but when i try to use it i get the following error.

I don't know how to solve the problem. but as you can see in my [configs](be correct: https://gyazo.com/077e0d035c82e39abba5cc9372560753) it should.


Solution

  • When I use mailgun, I use smtp credentials. You can take them on page like this - http://take.ms/ChjOQ. Then set username and password and then everything must work. Where you use mailgun domain?