title: How to set up these email headers with Mailgun API
body: <p>I'm using curl with PHP to communicate with MailGun API. 
  I have two emails which I need my recipients to receive the email with following headers.
  Could you give me an example code snippet in curl (or curl library for PHP) for achieve these mail headers?</p>
  
  <p>-- Email 1 --</p>
  
  <pre><code>From: "My Name"
  
  Content-type: text/plain;charset="iso-8859-1"
  
  Content-Transfer-Encoding: 8bit
  </code></pre>
  
  <p>-- Email 2 --</p>
  
  <pre><code>MIME-Version: 1.0
  
  From:my.domain.com &lt;customerservice@mydomain.com&gt;
  
  Reply-To: my.domain.com &lt;customerservice@mydomain.com&gt;
  
  Content-Type: multipart/alternative;boundary="=_730dc78ab764a3e997c2c451d9352d87"
  
  Message-ID: &lt;ndfmzn.jquf15@my.domain.com&gt;
  </code></pre>