Advertisement
Guest User

Untitled

a guest
Jan 27th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. username = 'emailsmtplibtest@gmail.com'
  2. password = 'passtest'
  3. from_addr = 'emailsmtplibtest@gmail.com'
  4. server = smtplib.SMTP('smtp.gmail.com', 587)
  5. server.ehlo()
  6. server.starttls()
  7. server.login(username,password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement