Advertisement
Guest User

python.py

a guest
Feb 5th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. import smtplib
  2.  
  3. smtpserver = smtplib.SMTP ("smtp.gmail.com, 587)
  4. smtpserver.ehlo ()
  5. smtpservedr.starttls ()
  6.  
  7. user =raw_input ("Enter Email Address: ")
  8. passlist = input ('gen.py')
  9. importlib.import_gen (gen.py)
  10.  
  11. try:
  12.     smtpserver.login (user, password)
  13.     if password == "password":
  14.           print ("correct: %s" % password)
  15. except smtplib.SHTPAuthencationError:
  16. print ("wrong password: %s" % password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement