JavaMail BaseEncode64 Error
问题 I'm currently developing an application which download attachment from gmail account. Right now, I got error whenever downloading zipped attachment. But, not all, some I can retrieve it without error. Here's the Exception message: Exception in thread "main" com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most recent characters were: "Q3w5ilxj2P" FYI: I was able to download the attachment via gmail