Skip to content

Instantly share code, notes, and snippets.

@woulfe68
woulfe68 / python_gmail_email_sender.py
Last active July 27, 2019 04:31
Send an email with a gmail account using python 3
import smtplib
TO = ['[email protected]', '[email protected]']
# ^^^ doesnt matter how many you put in
SUBJECT = 'EXAMPLE SUBJECT'
TEXT = 'example text to recipients'
gmail_user = "[email protected]"
gmail_password = "password"