title: Python: "subject" not shown when sending email using smtplib module
body: <p>I am successfully able to send email using the smtplib module. But when the emial is sent, it does not include the subject in the email sent.</p>
  
  <pre><code>import smtplib
  
  SERVER = &lt;localhost&gt;
  
  FROM = &lt;from-address&gt;
  TO = [&lt;to-addres&gt;]
  
  SUBJECT = "Hello!"
  
  message = "Test"
  
  TEXT = "This message was sent with Python's smtplib."
  server = smtplib.SMTP(SERVER)
  server.sendmail(FROM, TO, message)
  server.quit()
  </code></pre>
  
  <p>How should I write "server.sendmail" to include the SUBJECT as well in the email sent.</p>
  
  <p>If I use, server.sendmail(FROM, TO, message, SUBJECT), it gives error about "smtplib.SMTPSenderRefused"</p>