}
String parserClassName = MsgInfoParserFactory.instance().guessParserName(msgUnitAttachmentHolder.getFileName(), msgUnitAttachmentHolder.getContentType());
msgInfos = MsgInfo.parse(glob, this.progressListener, encodedMsgUnit, parserClassName, this.pluginConfig);
if (msgInfos.length < 1) {
// spam?
log.warning("Unexpected msgInfo with length==0, requestId=" + requestId + " data=" + emailData.toXml(true));
Thread.dumpStack();
return;
}
for (int j=0; j<msgInfos.length; j++) {
MsgInfo msgInfo = msgInfos[j];