Skip to main content

Read Documents (Mail)

Synopsis​

Reads documents from a mail store (e.g. IMAP or POP3).

Input​

connection​

This port can take a connection of type Mail (retrieve).

Output​

output​

The output port.

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 store​

Mail store connection can be defined by using either a session bound to a JNDI name, or explicitly by specifying host and user.

Jndi name​

JNDI name referencing a mail session.

Host​

IMAP or POP3 host name

User​

IMAP or POP3 user name

Password​

IMAP or POP3 password

Connection properties​

Additional properties for the mail store.

Protocol​

IMAP or POP3

Only unseen​

If checked, only new unseen messages will be processed.

Mark seen​

If checked, all processed messages will be marked read. Only works with IMAP, not with POP3.

Delete messages​

If checked, all processed messages will be deleted. Especially useful for POP3

Recursive​

Recurse into subfolders?

Folder​

Name of the IMAP folder to scan. Must be INBOX for POP3.