title: Powershell open email draft with Signature
body: <p>I am trying to make a button open an outlook draft that we can type in the "To:" and click on send.</p>
  
  <p>I got most of it working with the following code:</p>
  
  <pre><code>$SUBJECT = ('Ticket: ' + $textticketnumber.text)
  CreateLink #Function that gets a weblink and stores it to variable $rtblink.Text
  $BODY = $rtblink.Text
  $EMAILSIG = Get-Content ($env:USERPROFILE + "\AppData\Roaming\Microsoft\Signatures\*.htm")
  
  $ol = New-Object -comObject Outlook.Application
  $mail = $ol.CreateItem(0)
  $mail.Subject = "$SUBJECT"
  $mail.Body = "`n$BODY`n$EMAILSIG"
  
  $inspector = $mail.GetInspector
  $inspector.Display()
  </code></pre>
  
  <p>The issue is that the body of the email has the raw HTML code not the proper signature. I can change the get-content to *.txt instead of .htm but then there is no formatting in the signature, plus it puts it all on one line. </p>
  
  <p>Is there a way to make the body of the code work with html or is there another way to insert the signature into the email with proper formatting?</p>