DECROMAX

Send email SMPT

Sep 26th, 2021
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. import smtplib
  2.  
  3.  
  4. for user in ReceiversList:
  5.     s = smtplib.SMTP('smtp.gmail.com', 587)
  6.     s.starttls()
  7.     s.login("[email protected]", "YourEmailpassword")
  8.     message = "I am spamming you with gmails heheπŸ˜…πŸ˜…"
  9.     s.sendmail("sender_email_id", user, message)
  10.     s.quit()
Advertisement
Add Comment
Please, Sign In to add comment