Skip to content

Instantly share code, notes, and snippets.

View liam-ob's full-sized avatar

Liam liam-ob

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Send email via smtp_host."""
import smtplib
from email.mime.text import MIMEText
from email.header import Header
#smtp_host = 'smtp.live.com'
smtp_host = 'atteris-com-au.mail.protection.outlook.com'
login = "SENDEREMAIL"