Advertisement
Guest User

py3

a guest
Feb 7th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. import smtplib smtpserver = smtplib.SMTP("smtp.gmail.com" , 587) smtpserver.ehlo() smtpserver.starttls() user = input("Enter Email address: ") import test1 password = test1.test1() importlib.import_test1 (test1.py) try: smtpserver.login (user, password) if password == "password": print("correct: " + password) except smtplib.SHTPAuthencationError: print("wrong: %s" % password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement