Advertisement

10.22.2007 at 06:57AM PDT, ID: 22908988
[x]
Attachment Details

JavaMail Seven-bit encoding error

Asked by Isisagate in JavaMail, Java Programming Language

Tags: encoding, javamail

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.

java.io.IOException: Unknown encoding: sevenbit
      at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:70)
      at com.sun.mail.handlers.text_plain.getContent(text_plain.java:64)
      at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
      at javax.activation.DataHandler.getContent(DataHandler.java:501)
      at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1339)

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.Start Free Trial
[+][-]10.22.2007 at 06:59AM PDT, ID: 20123158

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaMail, Java Programming Language
Tags: encoding, javamail
Sign Up Now!
Solution Provided By: CEHJ
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.22.2007 at 07:16AM PDT, ID: 20123296

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 07:19AM PDT, ID: 20123313

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 07:22AM PDT, ID: 20123339

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 07:49AM PDT, ID: 20123579

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 08:33AM PDT, ID: 20123955

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 08:37AM PDT, ID: 20123981

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 08:43AM PDT, ID: 20124024

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 08:48AM PDT, ID: 20124061

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 08:53AM PDT, ID: 20124094

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 09:04AM PDT, ID: 20124180

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 09:16AM PDT, ID: 20124287

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 10:01AM PDT, ID: 20124740

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 10:05AM PDT, ID: 20124770

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 10:15AM PDT, ID: 20124842

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 10:41AM PDT, ID: 20125089

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 11:13AM PDT, ID: 20125363

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 11:19AM PDT, ID: 20125434

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628