mailgun doesn't work for me

October 2, 2017 1.1k views
Email Ubuntu 16.04

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.

1 Answer

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

nc -z 25

If it does not output Connection to 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.

Have another answer? Share your knowledge.