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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...