Question

mailgun doesn't work for me

Hello everyone, i’m working with Mailgun SMTP but didn’t work for me after my long tried it work fine in my localhost but not on server.i don’t know what happen i didn’t get any errors in my log.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi! Can you please post the output of the following command?

nc -z smtp.gmail.com 25

If it does not output Connection to smtp.gmail.com port 25 [tcp/smtp] succeeded!, it’s possible that SMTP is blocked on your droplet. In that case, please file a support ticket and the support team will take care of it.

Alternatively, you could try to use the HTTP(S) Mailgun API instead of SMTP.