Question

Problem sending email via Postmark

I have a Statamic site that uses Postmark for email delivery. Sending mail works from my local build, but the same build can’t send mail on live. What could be different on my Digital Ocean server that is blocking mail from sending?


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.

Accepted Answer

Solved - it was a Redis queue that needed to be running.

Bobby Iliev
Site Moderator
Site Moderator badge
March 7, 2024

Hi there,

If you are using port 25, keep in mind that it is closed for external uses for new accounts. There are a few ways to go about the problem with the best being to try using ports like 465 or 587 for SMTP.

To expand more on blocking port 25 for new accounts, is something DigitalOcean has been doing to reduce spam on its network. It is more that we simply cannot accurately determine who is going to send it.

Stopping spam is a constant fight, so DigitalOcean has implemented some restrictions on newer accounts. Having said that, you can always contact them and ask for the port block to be lifted on:

https://www.digitalocean.com/support/

More information here:

https://docs.digitalocean.com/support/why-is-smtp-blocked/

Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation. To send mail from DigitalOcean, I could suggest using SendGrid or any other SMTP service provider:

https://marketplace.digitalocean.com/apps/sendgrid

Hope that helps!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel