Contact Form 7 Plugin send emails to my Gmail as spam [closed]

@janoChen,
The problem could be that your email server is not using Domain Keys or a valid spf record

DomainKeys is an e-mail authentication system that allows for incoming mail to be checked against the server it was sent from to verify that the mail has not been modified. This ensures that messages are actually coming from the listed sender and allows abusive messages to be tracked with more ease.

DomainKeys can be set up in Cpanel under Email Authentication

SPF will specify which machines are authorized to send email from your domain(s). This means that only mail sent through this server will appear as valid mail from your domain(s) when the SPF records are checked.

SPF records can be set in Cpanel or by adding the record to your DNS. A sample SPF record looks like this:

v=spf1 a mx ip4:xxx.xxx.17.118 a:my.servername.com ?all

This tells email servers that the specified ip address and host are permitted to send mail from my domain.

The Configure SMTP plugin will set up WordPress to use SMTP authentication to send out mail. It also has an option to use Gmail or Google Apps to send WordPress mail.

Check the email headers to find out why your messages are going to spam

In Gmail you can view the headers which will tell you the problem with the message by clicking the drop down arrow under replay and selecting “show original”.

alt text

Here is a header example from some “Viagra” spam in my spam box:

Received-SPF: neutral (google.com: 123.238.77.28 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=123.238.77.28;
Authentication-Results: mx.google.com; spf=neutral (google.com: 123.238.77.28 is neither permitted nor denied by best guess record for domain of [email protected]) [email protected]