Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error loading email_adj plugin
#3
Looks like the Encoders import should be:
Code:
from email import encoders
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
<p><br></p>
Reply


Messages In This Thread
error loading email_adj plugin - by paul - 2021 Sep 23, 01:32 PM
RE: error loading email_adj plugin - by dan - 2021 Sep 23, 01:40 PM
RE: error loading email_adj plugin - by dan - 2021 Sep 23, 02:25 PM
RE: error loading email_adj plugin - by paul - 2021 Sep 23, 04:12 PM
RE: error loading email_adj plugin - by paul - 2021 Sep 24, 08:10 AM
RE: error loading email_adj plugin - by dan - 2021 Sep 25, 01:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)