utf-7 encoding error when using cfpop

We were struck by the dreaded error message today This is caused when processing an email with cfpop from a mail box. Usually these bounce emails and are mostly generated by Exchange and Hotmail from the information I can gather. Why do they use utf-7 and not utf-8? Who knows – maybe its just Microsoft […]
Last updated: March 12, 2012

We were struck by the dreaded error message today

This is caused when processing an email with cfpop from a mail box. Usually these bounce emails and are mostly generated by Exchange and Hotmail from the information I can gather. Why do they use utf-7 and not utf-8? Who knows – maybe its just Microsoft being difficult. Why cant ColdFusion cope with these encodings? Well its because Java doesn’t have the encoding embedded, so don’t go blaming Adobe! There is however a good long list of bug requests to get Sun to fix it, but they just wont.

So what to do? Well from my research this morning (see further reading at the bottom) you download a jar file and install it into CF’s lib directory then restart. For MX 6, & 7 standalone: {cfroot}\runtime\lib\, For Multi Instance: C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\lib We have an application that processes a huge number of emails every day, and I cant think why we didn’t come up against it before. Maybe users actually are diligent in spelling the email address correctly when inviting another user and today someone mistyped and that generated the bounce emails. Further reading:

Duncan Isaksen-Loxton

Educated as a web developer, with over 20 years of internet based work and experience, Duncan is a Google Workspace Certified Collaboration Engineer and a WordPress expert.

Leave a Comment

Login
Log in below to access your courses.
Log In With Google
Forgot Password
Enter your email address or username and we’ll send you instructions to reset your password.