All Apps and Add-ons

TA-mailclient ERRORunknown encoding

Path Finder

hi,
now , I use two mailboxes to test,one of them have this error message:
I receive this error message:

07-20-2018 09:09:52.123 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" ERRORunknown encoding: gb2312

Please tell me why this is happening, what should I do?
I will be very grateful.

and configure another email I receive this error message:(I believe that my mailbox and email password are written correctly.)

18/07/20 11:05:40.660   
07-20-2018 11:05:40.660 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" ERRORLogin failed on pop.domain.com for username: myemail@domaincom

what should I do ?
please

0 Karma

Communicator

There’s a limited number of encoding supported by the Python that comes with Splunk. Your email server is using an unsupported encoding. I’ve seen this issue with cPanel.

0 Karma

Path Finder

hello,seunomosowon
Is there a solution now?
I can't solve this problem now. Can you solve it?

0 Karma

Contributor

I had one specific email causing this problem, once I deleted it out of the mailbox, the process continued and retrieved the rest of the email.

0 Karma

Communicator

I'll try add a work around, to maybe move any mails found with the problem to a folder. Some emails that might come with a different encoding may not be supported by the limited Python that comes out of the box with Splunk. You could also try using phantom to consume the emails. It may support the full character set.

0 Karma

Path Finder

Hello @seunomosowon unfortunately I also have the same problem with one mailbox now. Have you been able to implement a workaround? It would be so great to proceed further with other mails in the mailbox and ignore only which comes with a wrong charset

ERRORunknown encoding: big5
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!