Package org.frankframework.filesystem
Interface IMailFileSystem<M,A>
- All Superinterfaces:
AutoCloseable,HasPhysicalDestination,IBasicFileSystem<M>
- All Known Implementing Classes:
AbstractMailFileSystem,ImapFileSystem
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidextractAttachment(A attachment, SaxElementBuilder attachmentsXml) voidextractEmail(M emailMessage, SaxElementBuilder emailXml) voidforwardMail(M emailMessage, String destination) longgetMimeContent(M emailMessage) getSubject(M emailMessage) listAttachments(M f) readAttachment(A a) Methods inherited from interface org.frankframework.core.HasPhysicalDestination
getPhysicalDestinationNameMethods inherited from interface org.frankframework.filesystem.IBasicFileSystem
close, configure, copyFile, createFolder, deleteFile, exists, folderExists, getAdditionalFileProperties, getCanonicalName, getCanonicalNameOrErrorMessage, getFileSize, getModificationTime, getName, getNumberOfFilesInFolder, getParentFolder, isFolder, isOpen, list, list, moveFile, open, readFile, removeFolder, toFile, toFile
-
Field Details
-
MAIL_MESSAGE_ID
- See Also:
-
RETURN_PATH_HEADER
- See Also:
-
TO_RECIPIENTS_KEY
- See Also:
-
CC_RECIPIENTS_KEY
- See Also:
-
BCC_RECIPIENTS_KEY
- See Also:
-
FROM_ADDRESS_KEY
- See Also:
-
SENDER_ADDRESS_KEY
- See Also:
-
REPLY_TO_RECIPIENTS_KEY
- See Also:
-
DATETIME_SENT_KEY
- See Also:
-
DATETIME_RECEIVED_KEY
- See Also:
-
BEST_REPLY_ADDRESS_KEY
- See Also:
-
REPLY_ADDRESS_FIELDS_DEFAULT
- See Also:
-
-
Method Details
-
getSubject
- Throws:
FileSystemException
-
getMimeContent
- Throws:
FileSystemException
-
forwardMail
- Throws:
FileSystemException
-
extractEmail
void extractEmail(M emailMessage, SaxElementBuilder emailXml) throws FileSystemException, SAXException - Throws:
FileSystemExceptionSAXException
-
extractAttachment
void extractAttachment(A attachment, SaxElementBuilder attachmentsXml) throws FileSystemException, SAXException - Throws:
FileSystemExceptionSAXException
-
getReplyAddressFields
String getReplyAddressFields() -
listAttachments
- Throws:
FileSystemException
-
getAttachmentName
- Throws:
FileSystemException
-
readAttachment
- Throws:
FileSystemExceptionIOException
-
getAttachmentSize
- Throws:
FileSystemException
-
getAttachmentContentType
- Throws:
FileSystemException
-
getAttachmentFileName
- Throws:
FileSystemException
-
getFileFromAttachment
- Throws:
FileSystemException
-
getAdditionalAttachmentProperties
- Throws:
FileSystemException
-