Hi All,

I am new to Apache camel framework and am getting the below error when
trying to decode a attachement using Base64Decoder. I am using IMAP
protocol.

com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream:
needed at least 2 valid base64 characters, but only got 0 before padding.

On searching in google most of them have suggested to set the imap partial
fetch property to false.
props.setProperty("mail.imaps.partialfetch", "false");

Have tried that but could solve my issue. Please suggest.

Regards,
Karthik.



--
View this message in context: 
http://camel.465427.n5.nabble.com/com-sun-mail-util-DecodingException-BASE64Decoder-tp5749950.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to