title: Can't send email with server.sendmail()
body: <p>I am trying to send an email using python but it wont send anything. Any fixes?</p>
  <pre><code>context = ssl.create_default_context()
  
  try:
   with smtplib.SMTP_SSL(smtp_server, port, context=context) as server:
     server.login(sender_email, password)
     server.sendmail(sender_email, receiver_email, message1)
  except Exception as e:
    print(e)
  finally:
    server.quit()
  </code></pre>