// be sent.
if ((0 != MimeType.length()) &&
eo.getFileSize() <= ncs.getMaxFileSize()) {
attachDoc.replaceItemValue(NCCONST.ITM_MIMETYPE, MimeType);
String attachmentPath = getAttachmentFilePath(crawlDoc, attachNameHash);
eo.extractFile(attachmentPath);
attachDoc.replaceItemValue(NCCONST.ITM_CONTENTPATH, attachmentPath);
} else {
// Not a supported attachment so sending meta data only
// with the filename as content
attachDoc.replaceItemValue(NCCONST.ITM_CONTENT, AttachmentName);