Skip to content

Instantly share code, notes, and snippets.

View Teakzieas's full-sized avatar

Divyessh Sivakumar Teakzieas

View GitHub Profile
Teakzieas /
Last active July 10, 2023 02:35 — forked from frankyxhl/
Python script to send email by's mail service
import smtplib
from email.mime.text import MIMEText
from email.header import Header
from email.utils import formataddr
sender_email = ''
sender_password = ''
def init(email, password):
global sender_email, sender_password