Read Documents (Mail) (Text Processing)
Synopsis
Reads documents from a mail store (e.g. IMAP or POP3).Input
- connection (Connection)
This port can take a connection of type Mail (retrieve).
Output
- output (Collection)
The output port.
- connection (Connection)
If the input port connection has data, it will be put through to this output port.
Parameters
- mail account The mail connection to use to retrieve the email. Only visible if the connection input port is not connected and the compatibility level is above 9.3.1.
- define storeMail store connection can be defined by using either a session bound to a JNDI name, or explicitly by specifying host and user.
- jndi nameJNDI name referencing a mail session.
- hostIMAP or POP3 host name
- userIMAP or POP3 user name
- passwordIMAP or POP3 password
- connection propertiesAdditional properties for the mail store.
- protocolIMAP or POP3
- only unseenIf checked, only new unseen messages will be processed.
- mark seenIf checked, all processed messages will be marked read. Only works with IMAP, not with POP3.
- delete messagesIf checked, all processed messages will be deleted. Especially useful for POP3
- recursiveRecurse into subfolders?
- folderName of the IMAP folder to scan. Must be INBOX for POP3.