mail.mime.base64.ignoreerrors not working
Hi
whenever i try to write the mime message to a document, i keep getting this exception
java.io.IOException: Error in encoded stream, got 3
at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:148)
at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:53)
at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:78)
at java.io.FilterInputStream.read(FilterInputStream.java:110)
at javax.activation.DataHandler.writeTo(DataHandler.java:289)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1147)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:668)
at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:232)
at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:67)
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:839)
at javax.activation.DataHandler.writeTo(DataHandler.java:295)
I have even tried setting
System.setProperty("mail.mime.base64.ignoreerrors", "true");
Even this doesnot solve the problem..
How exactly to set this Property? Any idea why this is not working?
Any help would be appreciated

