Report this

What is the reason for this report?

mailgun doesn't work for me

Posted on October 2, 2017

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.



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.