Interface IMailFileSystem<M,A>
-
- All Superinterfaces:
HasPhysicalDestination
,IBasicFileSystem<M>
,IWithAttachments<M,A>
- All Known Implementing Classes:
ExchangeFileSystem
,ImapFileSystem
,MailFileSystemBase
public interface IMailFileSystem<M,A> extends IWithAttachments<M,A>
-
-
Field Summary
Fields Modifier and Type Field Description static String
BCC_RECEPIENTS_KEY
static String
BEST_REPLY_ADDRESS_KEY
static String
CC_RECEPIENTS_KEY
static String
DATETIME_RECEIVED_KEY
static String
DATETIME_SENT_KEY
static String
FROM_ADDRESS_KEY
static String
MAIL_MESSAGE_ID
static String
REPLY_ADDRESS_FIELDS_DEFAULT
static String
REPLY_TO_RECEPIENTS_KEY
static String
RETURN_PATH_HEADER
static String
SENDER_ADDRESS_KEY
static String
TO_RECEPIENTS_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
extractAttachment(A attachment, SaxElementBuilder attachmentsXml)
void
extractEmail(M emailMessage, SaxElementBuilder emailXml)
void
forwardMail(M emailMessage, String destination)
Message
getMimeContent(M emailMessage)
String
getReplyAddressFields()
String
getSubject(M emailMessage)
-
Methods inherited from interface nl.nn.adapterframework.core.HasPhysicalDestination
getDomain, getPhysicalDestinationName
-
Methods inherited from interface nl.nn.adapterframework.filesystem.IBasicFileSystem
close, configure, copyFile, createFolder, deleteFile, exists, folderExists, getAdditionalFileProperties, getCanonicalName, getFileSize, getModificationTime, getName, getNumberOfFilesInFolder, getParentFolder, isOpen, listFiles, moveFile, open, readFile, removeFolder, toFile, toFile
-
Methods inherited from interface nl.nn.adapterframework.filesystem.IWithAttachments
getAdditionalAttachmentProperties, getAttachmentContentType, getAttachmentFileName, getAttachmentName, getAttachmentSize, getFileFromAttachment, listAttachments, readAttachment
-
-
-
-
Field Detail
-
MAIL_MESSAGE_ID
static final String MAIL_MESSAGE_ID
- See Also:
- Constant Field Values
-
RETURN_PATH_HEADER
static final String RETURN_PATH_HEADER
- See Also:
- Constant Field Values
-
TO_RECEPIENTS_KEY
static final String TO_RECEPIENTS_KEY
- See Also:
- Constant Field Values
-
CC_RECEPIENTS_KEY
static final String CC_RECEPIENTS_KEY
- See Also:
- Constant Field Values
-
BCC_RECEPIENTS_KEY
static final String BCC_RECEPIENTS_KEY
- See Also:
- Constant Field Values
-
FROM_ADDRESS_KEY
static final String FROM_ADDRESS_KEY
- See Also:
- Constant Field Values
-
SENDER_ADDRESS_KEY
static final String SENDER_ADDRESS_KEY
- See Also:
- Constant Field Values
-
REPLY_TO_RECEPIENTS_KEY
static final String REPLY_TO_RECEPIENTS_KEY
- See Also:
- Constant Field Values
-
DATETIME_SENT_KEY
static final String DATETIME_SENT_KEY
- See Also:
- Constant Field Values
-
DATETIME_RECEIVED_KEY
static final String DATETIME_RECEIVED_KEY
- See Also:
- Constant Field Values
-
BEST_REPLY_ADDRESS_KEY
static final String BEST_REPLY_ADDRESS_KEY
- See Also:
- Constant Field Values
-
REPLY_ADDRESS_FIELDS_DEFAULT
static final String REPLY_ADDRESS_FIELDS_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubject
String getSubject(M emailMessage) throws FileSystemException
- Throws:
FileSystemException
-
getMimeContent
Message getMimeContent(M emailMessage) throws FileSystemException
- Throws:
FileSystemException
-
forwardMail
void forwardMail(M emailMessage, String destination) throws FileSystemException
- 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()
-
-