mailgun doesn't work for me

October 2, 2017 362 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 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.

Have another answer? Share your knowledge.