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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...