title: PHPMailer to send MIME message
body: <p>I cannot seem to find any docs indicating that this is possible, is there a way to send a MIME formatted message using PHPMailer?</p>
  <p>I'm not using $mail-&gt;setFrom, $mail-&gt;Subject, $mail-&gt;Body etc. because the content I have is already in mime format ie. a block of text similar to below</p>
  <pre><code>From: Some One &lt;someone@example.com&gt;
  MIME-Version: 1.0
  Content-Type: multipart/mixed;
          boundary=&quot;XXXXboundary text&quot;
  Subject: This is a test
  
  This is a multipart message in MIME format.
  
  --XXXXboundary text
  Content-Type: text/plain
  
  this is the body text
  
  --XXXXboundary text
  Content-Type: text/plain;
  Content-Disposition: attachment;
          filename=&quot;test.txt&quot;
  
  this is the attachment text
  
  --XXXXboundary text--
  </code></pre>