here in this we use python programming to send mail to anyone using gmail account.
you can click here to watch a video on it.
and below is the code given you can copy and run the code directly.
import smtplib
def mail(email, password, message): server = smtplib.SMTP("smtp.gmail.com", 587)
server.starttls()
server.login(email, password)
server.sendmail(email, email, message)
server.quit() mail("example@gmail.com", "password", "message")
for more content you can subscribe our YouTube channel
join our telegram channel here
Comments
Post a Comment