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 TypeMethodDescriptionvoid
extractAttachment
(A attachment, SaxElementBuilder attachmentsXml) void
extractEmail
(M emailMessage, SaxElementBuilder emailXml) void
forwardMail
(M emailMessage, String destination) long
getMimeContent
(M emailMessage) getSubject
(M emailMessage) listAttachments
(M f) readAttachment
(A a) Methods inherited from interface org.frankframework.core.HasPhysicalDestination
getDomain, getPhysicalDestinationName
Methods 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, 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:
FileSystemException
SAXException
-
extractAttachment
void extractAttachment(A attachment, SaxElementBuilder attachmentsXml) throws FileSystemException, SAXException - Throws:
FileSystemException
SAXException
-
getReplyAddressFields
String getReplyAddressFields() -
listAttachments
- Throws:
FileSystemException
-
getAttachmentName
- Throws:
FileSystemException
-
readAttachment
- Throws:
FileSystemException
IOException
-
getAttachmentSize
- Throws:
FileSystemException
-
getAttachmentContentType
- Throws:
FileSystemException
-
getAttachmentFileName
- Throws:
FileSystemException
-
getFileFromAttachment
- Throws:
FileSystemException
-
getAdditionalAttachmentProperties
- Throws:
FileSystemException
-