Blank Multipart email <p>I'm using PHP to send out a multipart/mixed message (plain text, html and attachments). However, whilst it works for most accounts, Yahoo, GMail and Sky seem to show blank emails. Where as everything else seems to display the email. ANY HELP WOULD BE GREATLY APPRECIATED!</p> <p>My headers are </p> <pre><code>$headers .= "Content-Type: multipart/mixed; boundary=\"mixed-" . $random_hash . "-mixed\"\n"; $headers .= "MIME-Version: 1.0\n"; </code></pre> <p>And the content is;</p> <pre><code>--mixed-7df05b31-mixed Content-Type: multipart/alternative; boundary="alt-7df05b31-alt" --alt-7df05b31-alt Content-Type: text/plain; charset=utf-8 Hello how are you? I am just checking the mailing function. Hopefully this will work! Cheers. --alt-7df05b31-alt Content-Type: text/html; charset=utf-8 &lt;div style="font-family:Arial, Helvetica, sans-serif; font-size: 10pt;"&gt; &lt;div&gt; Hello how are you? I am just &lt;b&gt;checking&lt;/b&gt; the mailing function.&lt;br&gt;&lt;br&gt; Hopefully this will work!&lt;br&gt;&lt;br&gt; Cheers.&lt;/div&gt;&lt;/div&gt; --alt-7df05b31-alt-- --mixed-7df05b31-mixed Content-Type: text/plain; name="abc.txt" Content-Disposition: attachment; filename="abc.txt" Content-Transfer-Encoding: base64 SEVMTE8gSlVTVCBURVNUSU5HIC4uLiA= --mixed-7df05b31-mixed-- </code></pre>