2 Replies Latest reply: Nov 28, 2011 1:05 PM by Bill Shannon-Oracle RSS

    Decoding Exception

    902411
      Hi,
      When I try to read a body of a message I get the following exception

      com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed at least 2 valid base64 characters, but only got 1 before padding character (=), the 10 most recent characters were: "><hr size="

      This occurs in getContent(); of a Part of a Message.