title: Use a variable inside HTML email?
body: <p>I'm using information found on this post <a href="https://stackoverflow.com/questions/882712/sending-html-email-using-python">Sending Email Using Python</a></p>
  
  <p>So far the instructions were perfect.  I have two additional things I'd like to do:</p>
  
  <ol>
  <li>Call a variable inside the body</li>
  <li>Add an attachment</li>
  </ol>
  
  <p>The variable would be todays date.  This is it:</p>
  
  <pre><code>today = datetime.datetime.today ()
  tday = today.strftime ("%m-%d-%Y")
  </code></pre>
  
  <p>I know that with mailx, you can attach with the -a option.</p>