Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Simple python text mailer
import smtplib
username = 'gmail_username'
password = 'gmail_password'
fromaddr = ''
toaddrs = ''
msg = 'Message to be sent'
server = smtplib.SMTP('')
server.sendmail(fromaddr, toaddrs, msg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.