troubleshooting Question

JavaMail Seven-bit encoding error

Avatar of Isisagate
Isisagate asked on
JavaJava EE
23 Comments1 Solution1948 ViewsLast Modified:
We have an object that automatically checks an email address through a POP3/SMTP server about every 5 minutes. One email that was sent in had an encoding on it of sevenbit. As soon as that came it threw an error. Unknown encoding: sevenbit
      at javax.mail.internet.MimePartDataSource.getInputStream(
      at com.sun.mail.handlers.text_plain.getContent(
      at javax.activation.DataSourceDataContentHandler.getContent(
      at javax.activation.DataHandler.getContent(
      at javax.mail.internet.MimeMessage.getContent(

What can I do to fix this or accommodate this assuming this one source constantly sends in that encoding format this could be an issue.  I know my fall back would be to just move the email into a folder on the server or just delete it but I would prefer to be able to accommodate it.
Join our community to see this answer!
Unlock 1 Answer and 23 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 23 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros