Preventing email from going into spam PHP? : <p>I'm using the <code>mail()</code> to send a simple email but from some reason everything I try it goes straight to spam, am I missing something here? </p>

<pre><code>&lt;?php
    $to = "toemail@example.com";
    $subject = "your subject";
    $body = "&lt;p&gt;Your Body&lt;/p&gt;";
    $headers  = "From: Sender Name &lt;from@example.com&gt;" . "\r\n";
    $headers .= 'MIME-Version: 1.0' . "\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    mail($to, $subject, $body, $headers);
?&gt;
</code></pre>
