title: Signing PHP emails on shared hosting
body: <p>I am on a shared hosting plan, and when I send emails with PHP, email clients (like <a href="http://support.google.com/mail/answer/1311182?hl=en&amp;ctx=mail" rel="nofollow">Gmail</a>) will add a little <code>via</code> bit to my <code>from</code> field, with my host's domain in there. </p>
  
  <p>So instead of my emails being just from my domain:</p>
  
  <pre><code>From: me@mydomain.com
  </code></pre>
  
  <p>It's from two domains:</p>
  
  <pre><code>From: me@mydomain.com via host13.myhost.com
  </code></pre>
  
  <p>Clearly, this is confusing to people receiving email and is poor branding. Since I'm on a shared hosting plan, I don't think I'm likely to have access to the configurations settings of PHP or whatever it uses to mail. Is it possible for me to digitally sign my PHP emails, or is this not possible on shared hosting?</p>
  
  <p>Here is what I'm doing now:</p>
  
  <pre><code>$header = "From: me@mydomain.com";
  mail("you@yourdomain.com", "subject", "body", $header);
  </code></pre>