How do I find mail messages in an inbox with UTF-7 character encoding

413 Views Asked by At

We have a script that moves messages from an inbox into a CRM against the contact record of the sender (nice one CiviCRM!)

It has stopped working because someone has sent us a message in UTF-7 encoding, and the script can't or won't convert it to UTF-8

We now have a backlog of over a thousand messages.

How do we find the needle in this Inbox?

Does anyone know a script that will produce a report listing any messages in UTF-7 encoding, or of any other sneaky way to find the offending messsage(s)?

0

There are 0 best solutions below