The POP3 transport handler allows the receiving of processing results as an email via POP3.

Options

Output schema

The IMAP transport handler generates stream elements of type Tuple with a fixed output schema:

IndexAttribute nameData typeDescription
0FromStringThe senders email address
1ToString ListThe receivers' email addresses
2CCString ListThe list of copy receiver email addresses
3BCCString ListThe list of blind copy reveiver email addresses
4ReplyToStringThe reply to email address
5SubjectStringThe subject line of the email
6SendDateDateThe data when the email was sent
7FlagDeletedBooleanSee https://docs.oracle.com/javaee/6/api/javax/mail/Flags.Flag.html
8FlagAnsweredBoolean
9FlagDraftBoolean
10FlagFlaggedBoolean
11FlagRecentBoolean
12FlagSeenBoolean
13FlagUserBoolean
14Content

Depending on the value of option mimetypehandler:

String oder OptionMap

The content of the email. Depending of the emails' MIME type, it can consist of multiple body parts and/or attached files.


Example

PQL

output = ACCESS({source='Pop3Source',
wrapper='GenericPull',
transport='POP3',
protocol='None',
dataHandler='Tuple',
options=[
 ['host','pop3.example.com'],
 ['folder','INBOX'],
 ['keep','true'],
 ['markasread','false'],
 ['unreadonly','false'],
 ['readcontent', 'true'],
 ['username','Alice'],
 ['mimetypehandler', 'objectmap'],
 ['password','***']]
})