Categories
Fixing Stuff

How to fix wordpress contact form delivery to google apps email

So I ran into a super annoying/somewhat confusing problem today and thought I would share the solution to save anyone else some time (also to keep a record of it for my own person use).

Problem:

We moved email hosting for several websites to google apps.  The email accounts work great, but for some reason when a user filled out a contact form on the wordpress website the email would not be delivered to the google apps account.  To make a long story short this was caused by a small bug in our cpanel setup.  Full instructions to fix the problem are below:

Step 1:

login to cpanel and click on the mx record link:

mx-entry

 

Step 2:

select the option to set cpanel as a remote mail exchanger

remote-mail-exchanger

Hit change and you are good to go.  All mail generated by your website will not try to be delivered locally to that server.  Hopefully if you were running into that same issue you were able to follow those simple steps and fix your problem.