Using SMTP for outgoing mails (PHPMailer) on AWS instance?

I moved one of my wordpress site to an AWS instance. But once I got it working, noticed that none of the notifications or contact emails were being sent through.

On researching the issue, I found that if I set the SMTP server to be an external SMTP (my AWS instance doesn’t have one), it should work. I don’t need membership emails sent out from my site, just the contact form.

So I tried 2 different approaches

  1. Used the Configure SMTP plugin and configured it to route all emails via an SMTP account

  2. Using Custom Contact Forms plugin, specified SMTP the settings so emails are sent using SMTP settings in PHPMailer

None of these work. I am not getting any emails. The test email from Configure SMTP works but no emails are sent from the contact forms.

Can someone please help me with what might be wrong? Is any additional configuration needed when doing this via AWS?

3 Answers
3

The plugin WP-Mail-SMTP has always worked for me. This is with the Contact Form 7 and many others as it replaces the WP Mail functions directly.

http://wordpress.org/extend/plugins/wp-mail-smtp/

Leave a Comment