This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
def main(): | |
# Sender's info | |
# Will vary depending on the client (gmail, outlook, etc) | |
address = '[email protected]' | |
host = 'smtp.office365.com' |