Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import smtplib
- for user in ReceiversList:
- s = smtplib.SMTP('smtp.gmail.com', 587)
- s.starttls()
- message = "I am spamming you with gmails heheπ π "
- s.sendmail("sender_email_id", user, message)
- s.quit()
Advertisement
Add Comment
Please, Sign In to add comment