Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EMAIL_HOST = 'smtp.gmail.com'
- EMAIL_PORT = 587
- EMAIL_HOST_USER = 'me@mycompany.com'
- EMAIL_HOST_PASSWORD = 'mypassword'
- EMAIL_USE_TLS = True
- send_mail(subject, contact_message, emailfrom, emailto)
- smtplib.SMTPNotSupportedError: STARTTLS extension not supported by server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement