So, I’ve had two clients run into this bug now. When doing a getAll with CFPOP, if an email is in an unsupported locale, you get:
An exception occurred while retrieving mail. The cause of this exception was: java.io.UnsupportedEncodingException: unicode-1-1-utf-7
So, the question is, what is the best way around it? Sure you can wrap your cfpop call with a try/catch statement, but if you are trying to download a bunch of email, it basically means you are screwed. I’m guessing I’m going to have to write code to getAll, and if this error is thrown, revert to getting one message at a time, which will be slow as heck.
Anyone else encounter this?