title: Send emal stmp office 365 : message empty
body: <p>I'm trying to send an email in Python</p>
  
  <p>It's working without problem with gmail with this code :</p>
  
  <pre><code>import smtplib
  
  sender = 'xxx@xxx'
  receivers = ['xxx@gmail.com']
  message = "hello"
  
  try:
    smtpObj = smtplib.SMTP('smtp.gmail.com:587')
    smtpObj.starttls()
    smtpObj.login('xxxx@gmail.com', 'my_password')
    smtpObj.sendmail(sender, receivers, message)
    smtpObj.quit()
    print("okay")
  
  except:
    print("notokay")
  </code></pre>
  
  <p>But when i use it with office 365, the email is send but the message is empty.</p>
  
  <p>It's the same code but with 'smtp.office365.com:587' with my correct login and password.</p>