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?
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!
Hi there,
If you’re using ports 25, 465, or 587, keep in mind that they are closed for external use on new accounts. The best way to work around this is to use an external SMTP provider.
To expand more on blocking these ports for new accounts, this is something DigitalOcean has implemented to reduce spam on its network, as it’s difficult to accurately determine who will be sending 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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.