To: Blah From: Me Subject: Test Attachment Mail Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=BOUNDARY--198849662 Header --BOUNDARY--198849662 Content-Type: text/plain Content-Disposition: attachment; filename=blah.txt Plain text mail --BOUNDARY--198849662 Content-Type: text/html HTML mail --BOUNDARY--198849662--