/** * Returns the embedded MAPI message, if the attachment is an embedded * message, or null otherwise */ public MAPIMessage getEmbeddedMessage() throws IOException { if (attachmentDirectory != null) { return attachmentDirectory.getAsEmbededMessage(); } return null; }