Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #The only way to fail is to quit
- #The asteroid to kill this dinosaur is still in orbit
- #THERE are ALWAYS to WAYS wrong or right :) like capital A and small a always keep smiling GOOD for health
- #Ball is in always your coat you dont know how play with it
- import sys
- import smtplib
- username = sys.argv[1]
- password = sys.argv[2]
- to = sys.argv[4]
- n = sys.argv[5]
- try:
- server = smtplib.SMTP('smtp.gmail.com')
- server.ehlo()
- server.starttls()
- server.login(username,password)
- except:
- print("Error Unable to send mail")
- sys.exit(100)
- for i in range(int(n)):
- server.sendmail(username,to,'i am 100% homo')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement