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
from email.mime.text import MIMEText | |
from email.mime.image import MIMEImage | |
from email.mime.multipart import MIMEMultipart | |
# from email.Utils import formatdate | |
from logging.handlers import SMTPHandler | |
import logging | |
import os.path | |
import smtplib | |
from email.utils import formatdate |