cdata.append(message.getSubject());
cdata.append(NEW_LINE);
cdata.append(NEW_LINE);
Object content = message.getContent();
if (content instanceof MimeMultipart) {
<BUG>MimeMultipart mmp = (MimeMultipart) content;
int count = mmp.getCount();
cdata.append("Multipart. Count: ");
cdata.append(count);
cdata.append(NEW_LINE);</BUG>
for (int j=0; j<count;j++){

cdata.append(message.getSubject());
cdata.append(NEW_LINE);
cdata.append(NEW_LINE);
Object content = message.getContent();
if (content instanceof MimeMultipart) {
MimeMultipart mmp = (MimeMultipart) content;
String preamble = mmp.getPreamble();
if (preamble != null ){
cdata.append(preamble);
}
child.setResponseData(cdata.toString(),child.getDataEncodingNoDefault());
int count = mmp.getCount();
for (int j=0; j<count;j++){
