// Decode content as an ISO-8859-1 string
if (DebugFile.trace) DebugFile.writeln("No data handler found for Content-Type, decoding as ISO-8859-1 string");
InputStream oInStrm = (InputStream) oContent;
ByteArrayOutputStream oBaStrm = new ByteArrayOutputStream();
StreamPipe oPipe = new StreamPipe();
oPipe.between(oInStrm, oBaStrm);
oRetVal = new MimeBodyPart();
oRetVal.setText(oBaStrm.toString("ISO8859_1"));
}
else {
throw new MessagingException("Unparsed Mime Content " + oContent.getClass().getName());