Hello, I had the same problem, but got it solved. The solution is to both configure contact forms to be sent from an email address that matches your website domain, like <contact@website.com> and configure SMTP according to your hosting provider.
The Contact Form should be configured something like this:
- Inside Form:
<p>Name
[text* your-name] </p>
<p>Email
[email* your-email] </p>
<p>Message
[textarea your-message] </p>
<p>[submit "Send the message"]</p>
- Inside Mail:
To: (the email address I want the message to go to)
From: [your-name] <[your-email]>
Subject: [your-name] sent you a message from Yoursite.com
- Additional Headers:
From: Site Visitor <not-a-real-email@websiteurl.com>
Reply-To: [your-name] <[your-email]>
Subject: [your-name] sent you a message from Yoursite.com
- Message:
From: [your-name] <[your-email]>
Message Body:
[your-message]
(thanks to TheDsutty)
To configure smtp (I'm on Dreamhost) I used the plugin Configure SMTP (http://wordpress.org/extend/plugins/configure-smtp), like this:
- set SMTP host to be 'mail.mydomain.com' rather than 'localhost'. (This is a typical DreamHost setting, you should check with your hosting provider your e-mail client configuration. )
- enter the username (the full email address, something like 'postmaster@mydomain.com') and password for the send from address
(thanks to Joe Greenwood)
Hope this helps!