Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
stupid simple email notification in python
# all thanks to nael shiab's post here:
# adding gist for my own reference / ease remembering
import smtplib
from_email = ""
from_email_password = "somethingsecure"
to_email = ""
server = smtplib.SMTP('', 587)
server.login(from_email, from_email_password)
msg = "HELLOOOOO!!!"
server.sendmail(from_email, to_email, msg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.