easy sending email python
import smtplib
my_email = "[email protected]"
password = "mypw123"
connection = smtplib.SMTP("smtp.gmail.com",587)
connection.starttls()
connection.login(user=my_email, password=password)
connection.sendmail(from_addr=my_email,to_addrs="[email protected]", msg="Hello World")
connection.close()