Question

mailgun doesn't work for me

Posted October 2, 2017 2k views
EmailUbuntu 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.

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.

×
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.

Submit an Answer