Code
import smtplib
#Credits to crazy4cs tut. a tutorial I found on ubers.org by googling
mailserver = smtplib.SMTP('smtp.gmail.com')
mailserver.ehlo()
mailserver.starttls()
mailserver.ehlo()
username = raw_input('Email Address: ')
password = raw_input('Email Password: ')
number = raw_input("Phone Number: ")
carrier = raw_input('Phone Carrier: ')
texttosend = raw_input('Text to send: ')
timetosend = int(raw_input("Times to send: "))
if carrier == "att":
sendto = number + '@text.att.net'
elif carrier == "verizon":
sendto = number + '@vtext.com'
elif carrier == "tmobile":
sendto = number + '@tmomail.net'
elif carrier == "sprint":
sendto = number + '@messaging.sprintpcs.com'
elif carrier == "boost":
sendto = number + '@myboostmobile.com'
else:
print("Carrier not supported. Sorry!")
mailserver.login(username,password)
x = raw_input("Press enter to launch.")
for x in range(0,timetosend):
mailserver.sendmail(username,sendto,texttosend)
print("Sent.")
mailserver.close()
stopapp = raw_input("Application finished. Press enter to close.")



![[Image: ouURNlq.png]](https://i.imgur.com/ouURNlq.png)