Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileInputMail UnsupportedEncodingException When picking up mail

Hi,
I have created a job which picks up about 400 emails from my mail server, downloads them and then is read by a tFileInputMail these emails are then processed by a few tmaps and placed in tFileOutputExel's.
The problem is when I get to the 362 email the tFileInputMail is throwing the following exception:
Exception in component tFileInputMail_4
java.io.UnsupportedEncodingException: unicode-1-1-utf-7
at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)
at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
at com.sun.mail.handlers.text_plain.getContent(text_plain.java:107)
at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:775)
at javax.activation.DataHandler.getContent(DataHandler.java:522)
at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637)
at icccp.disputesemailretriever_0_1.DisputesEmailRetriever.tPOP_2Process(DisputesEmailRetriever.java:1842)
at icccp.disputesemailretriever_0_1.DisputesEmailRetriever.runJobInTOS(DisputesEmailRetriever.java:3094)
at icccp.disputesemailretriever_0_1.DisputesEmailRetriever.main(DisputesEmailRetriever.java:2962)
Is there a fix for this? How could I go about doing this?
P.S I am using Talend Open Studio fir Data Integration 5.1.1

Labels (3)
4 Replies
janhess
Creator II
Creator II

Anonymous
Not applicable
Author

Thanks for the quick reply. Should I restart once I have applied it? I am working on a development box with 3 other people so it wont be a quick process if so.
EDIT 1: problem sorted I will just use a tLibraryLoad instead of placing it in the jdk directory. Thanks for the help. Ill test it out now.
EDIT 2: Thanks this works perfectly! 0683p000009MACn.png

janhess
Creator II
Creator II

Which one did you use?

Anonymous
Not applicable
Author

The one on the IBM website worked perfectly thanks. IBM seemed like a safer bet.