Question

Sending email with DO App? Is it possible?

I have two apps setup for my shopping cart application. One for the backend of my application the other for the frontend. Is it possible to setup something like Postfix or Nodemailer on DO Apps? Or will I need a Droplet?


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.

alexdo
Site Moderator
Site Moderator badge
September 17, 2022

Hello @brudolph

You can send emails, but due to spam email issues, we block SMTP traffic on port 25. However, this is not possible on new accounts and droplets.

We support connecting to SMTP servers on ports 465 and 587 for authenticated mail sending. We highly recommend using a service such as MailGun or SendGrid for emails within your app.

Regards

Robert Jennings
DigitalOcean Employee
DigitalOcean Employee badge
September 16, 2022

Sending email from droplets is restricted by default as of June 22, 2022 and is not possible from AppPlatform. However sending email via API is available from partners’ services that you can find in the Marketplace or other 3rd party services.

Try DigitalOcean for free

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

Sign up