Hi everyone I am new to coding and this is my first project I was trying to code an email spammer and for some reason, it won't send the email
-I've allowed less secure apps on Gmail
any help would be greatly appreciated Thanks
-I've allowed less secure apps on Gmail
any help would be greatly appreciated Thanks
Code
import smtplib,ssl
email="[email protected]"
password="password"
message="""
test!!!!!
"""
port = 465
reciver=""
sslcontext=ssl.create_default_context()
for i in range (0,1000):
connection = smtplib.SMTP_SSL("smtp.gmail.com",port,context=sslcontext)
connection.login(email,password)
connection.sendmail(email,reciver,message)
print("Sent")
