Looks like the Encoders import should be:
that is deprecated in Python3, see:
https://docs.python.org/3/library/email.encoders.html
You also need to change
# from email.MIMEMultipart import MIMEMultipart
# from email.MIMEBase import MIMEBase
# from email.MIMEText import MIMEText
to
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
from email.mime.text import MIMEText
Dan
Code:
from email import encoders
https://docs.python.org/3/library/email.encoders.html
You also need to change
# from email.MIMEMultipart import MIMEMultipart
# from email.MIMEBase import MIMEBase
# from email.MIMEText import MIMEText
to
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
from email.mime.text import MIMEText
Dan
<p><br></p>