Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. EMAIL_HOST = 'smtp.gmail.com'
  2. EMAIL_PORT = 587
  3. EMAIL_HOST_USER = 'me@mycompany.com'
  4. EMAIL_HOST_PASSWORD = 'mypassword'
  5. EMAIL_USE_TLS = True
  6.  
  7. send_mail(subject, contact_message, emailfrom, emailto)
  8.  
  9. smtplib.SMTPNotSupportedError: STARTTLS extension not supported by server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement