Skip to content

Instantly share code, notes, and snippets.

View adityak74's full-sized avatar
🏋️‍♂️
hustling

Aditya Karnam adityak74

🏋️‍♂️
hustling
View GitHub Profile
@frankyxhl
frankyxhl / zoho_send_email.py
Last active May 14, 2024 21:42
Python script to send email by zoho.com's mail service
# Code from best solution in page below:
# https://help.zoho.com/portal/community/topic/zoho-mail-servers-reject-python-smtp-module-communications
import smtplib
from email.mime.text import MIMEText
from email.header import Header
from email.utils import formataddr
# Define to/from
sender = 'sender@example.com'