smtplib python3 code example
Example: email authentication python
import smtplib
server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
server.login("your username", "your password")
server.sendmail(
"[email protected]",
"[email protected]",
"this message is from python")
server.quit()