Created
October 7, 2016 16:48
-
-
Save anonymous/6f021d0916da60b0d6441726be9446aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import the smtplib module. It should be included in Python by default | |
import smtplib | |
# set up the SMTP server | |
s = smtplib.SMTP(host='your_host_address_here', port=your_port_here) | |
s.starttls() | |
s.login(MY_ADDRESS, PASSWORD) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment