title: SMTP sending an priority email
body: <p>I am trying to use Python's <code>smtplib</code> to set the priority of an email to high. I have successfully used this library to send email, but am unsure how to get the priority working.</p>
  
  <pre><code> import smtplib
   from smtplib import SMTP
  </code></pre>
  
  <p>My first attempt was to use this from researching how to set the priority:</p>
  
  <pre><code>smtp.sendmail(from_addr, to_addr, msg, priority ="high")
  </code></pre>
  
  <p>However I got an error: <code>keyword priority is not recognized.</code></p>
  
  <p>I have also tried using:</p>
  
  <pre><code>msg['X-MSMail-Priority'] = 'High'
  </code></pre>
  
  <p>However I get another error. Is there any way to set the priority using only smtplib?</p>