title: Wordpress notification emails going to spam
body: <p>How can I prevent Worpress notification e-mails from going to recipients' spam folders?</p>
  
  <p>I have set up a site along with its blog in three different environments as follows (I'm using "mydomain.com" instead of the actual site's domain for confidentiality reasons).</p>
  
  <ol>
  <li><code>local.mydomain.com</code> and <code>blog.local.mydomain.com</code> on my machine</li>
  <li><code>dev.mydomain.com</code> and <code>blog.dev.mydomain.com</code> on my dev server</li>
  <li><code>mydomain.com</code> and <code>blog.mydomain.com</code> on production server</li>
  </ol>
  
  <p>When I create users in 1 and 2 (local and dev), notification e-mails go to the inboxes of the newly created users. But when I do the same in production, they go straight to the spam folders.</p>
  
  <p>Now, by default Wordpress notifications are sent from <code>wordpress@yourblogsdomain.com</code>, so in my case, these were sent by <code>wordpress@blog.mydomain.com</code>, <code>wordpress@blog.dev.mydomain.com</code> and <code>wordpress@blog.local.mydomain.com</code>. So I installed the <a href="http://wordpress.org/extend/plugins/mail-from/" rel="nofollow">Mail From Plugin</a> to change the default address, and now all three servers are sending the messages from <code>hello@mydomain.com</code>, which is an existing and working address. </p>
  
  <p>mydomain.com e-mails are managed by Google Accounts, that's working fine, ie, messages sent from @mydomain.com accounts are received as not-spam messages. That's including that <code>hello@mydomain.com</code> address.</p>
  
  <p>All this leaves me thinking there might be something wrong with the server that's hosting my production site, but I have no idea where to start looking. </p>
  
  <p>Thoughts?</p>