SENDING MESSAGE USING G-MAIL BY PYTHON
import smtplib
# Calling SMTP
s = smtplib.SMTP('smtp.gmail.com', 587)
# TLS for network security
s.starttls()
# User email Authentication
s.login("YOUR GMAIL ID...", password="your pass")
# message to be sent
message = input("Enter Your message Here: ")
# sending the mail
s.sendmail("YOUR G-MAIL ID", "TO WHOME WE ARE SENDING MESSAGE THE RECIEVER G-MAIL ID",
msg=message)
Hello TO EVERYONE THIS IS JUST FOR TO MAKE ME REMEMBER MY CODE
ReplyDelete