Outgoing email server for Wordpress Newsletter

  • Posted on December 24, 2014
  • jbxAsked by jbx

I am considering migrating a client’s Wordpress installation from a shared hosting setup to a Digital Ocean Ubuntu/LAMP/Wordpress droplet. However I am concerned about the setup needed for handling email.

Apart from a couple of email addresses on the domain, which could be handled by a separate email provider like Zoho, Gmail/Google Apps, or Microsoft Outlook 365, the client also uses a Wordpress Newsletter plugin, which manages the subscriber list and also auto-populates the newsletter with the latest posts (due to this feature it needs to be integrated into wordpress).

From the information here it is not recommended to run your own full email server on a DO droplet.

On the other hand I could go for a send-only server, like Exim, as described here however I am worried about DO’s IP addresses being flagged as spam originators. It seems to be an issue users encounter.

What is the best solution to support this without running risks of over maintenance of mailserver components and also not having such emails flagged as spam?

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @ryanpq:

One option would be to set up your outside email service and then use a Wordpress plugin that supports sending via SMTP. This way you could simply configure the plugin to use your Zoho/Gmail/O365 service.

Alternately you could install postfix on your droplet which by default would allow the php mail() function to send without opening the service to outside connections. You would then just need to ensure you have set up appropriate SPF records for the droplet.

View the original comment