How can I use a relay mail server for outgoing mail only?

Posted December 6, 2014 3.3k views


I would like to use digital ocean’s relay mail server for outgoing mail. Since I use wordpress it has to occasionally send out some password reset mails.

I don’t have any domainname yet so I cannot configure a stand-alone mail server (mail is rejected by my ISP).

Please help.

1 comment

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.

Submit an Answer
2 answers

This question was answered by @Felice:

Hey, You can use exim4 or postfix for the purpose, also use cyrus to bypass your ISP

View the original comment


What I could suggest here is using an SMTP plugin for your Wordpress site.

That way you will be able to specify an SMTP server with authentication which your emails would be going through. You could for example use Gmail’s SMTP settings. This would drastically increase the delivery rate of your emails as well compared to using plain PHP mail.

I’ve been using this plugin for a while now and it works very well: Easy WP SMTP

Hope that this helps!