-
Notifications
You must be signed in to change notification settings - Fork 53
/
JohnsTextBomber.py
25 lines (23 loc) · 975 Bytes
/
JohnsTextBomber.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## John's Text Bomber ##
import time
import smtplib
#CONFIG. You can change any of the values on the right.
email_provider = 'smtp.gmail.com' #server for your email- see ReadMe on github
email_address = "YourEmail@gmail.com" #your email
email_port = 587 #port for email server- see ReadMe on github
password = "password123" #your email password
msg = "Your message that you want sent to target" #your txt message
text_amount = 20 #amount sent
target_email = "5551234567@mms.att.net" #target number. must be in email form- see ReadMe on github
wait = 1 #seconds in between messages
#END CONFIG
### DO NOT EDIT BELOW THIS LINE ###
server = smtplib.SMTP(email_provider, email_port)
server.starttls()
server.login(email_address, password)
for _ in range(0,text_amount):
server.sendmail(email_address,target_email,msg)
print("sent")
time.sleep(wait)
print("{} texts were sent. Hope you had a good time ;)".format(text_amount))
server.quit()