StringWriter writer = new StringWriter();
IOUtils.copy((InputStream) partContent, writer);
result = new EmailMessageContent(writer.toString(), isHtml);
}
else if (partContent instanceof MimeMultipart) {
<BUG>result = getContentString(partContent, contentType);
</BUG>
}
if (result != null) {
return result;

StringWriter writer = new StringWriter();
IOUtils.copy((InputStream) partContent, writer);
result = new EmailMessageContent(writer.toString(), isHtml);
}
else if (partContent instanceof MimeMultipart) {
result = getMessageContent(partContent, contentType);
}
if (result != null) {
return result;
