Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error loading email_adj plugin
#4
(2021 Sep 23, 02:25 PM)dan Wrote: 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

Thanks Dan,

I tried your changes and the plugin now loads properly.

Unfortunately I failed the send-email test, with this message appearing in the status box:

"Email was not sent! E-mail plug-in is not properly configured!"

I checked my gmail setup by following this link below to check against 3 possible errors:
  1. Incorrect login information is being used.

  2. The Post Office Protocol (POP) and Internet Message Access Protocol (IMAP) access is not enabled for the mail account.

  3. The POP/IMAP account access is locked.
https://help.texadasoftware.com/knowledg...ail-in-srm

My login credential is correct. I have to set up POP/IMAP and make sure it is not locked. Still, I can't pass the send-email test.

At this point, I am not sure if the problem is with my gmail account setup or with the plugin setup.

Manually run "sudo python3 sip.py" indicates the plugin now starts fine:

"Email plugin is started"

-- which is progress.

Regards,

paul
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: 2 Guest(s)