title: Html Email Body using Batch and Blat.exe
body: <p>I have been playing around with trying to send an email using batch/blat.exe
  Sending the email is the easy part; the tricky part is sending the body as a Html message.</p>
  
  <pre><code>    Set EmailBody="htmlPath\file.html"
      set to=-to to@Email.com
      set f=-f from@Email.com
      set server=-server mail.Server1.com
      set subject=-subject "Subject of Email"
      set password=-pw password
      set username=-u username
  
      :: Send the email
      Path\Blat.exe - %EmailBody% %to% %f% %subject% %server% %username% %password%
  </code></pre>
  
  <p>The html file I am using is simply: </p>
  
  <pre><code>&lt;p&gt;This is a Test&lt;/p&gt;&lt;br/&gt;with a second line
  </code></pre>
  
  <p>There isn't much on Blat around and the few examples I have seen aren't working for me. Can anyone show me what I'm doing wrong?</p>
  
  <p>Any help greatly appreciated.</p>