All Apps and Add-ons

TA-mailclient ERRORunknown encoding

WXY
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

seunomosowon
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

WXY
Path Finder

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

0 Karma

worshamn
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

seunomosowon
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

Paul1896
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
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...