Skip to content

Instantly share code, notes, and snippets.

Created October 7, 2016 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6f021d0916da60b0d6441726be9446aa to your computer and use it in GitHub Desktop.
Save anonymous/6f021d0916da60b0d6441726be9446aa to your computer and use it in GitHub Desktop.
# 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