Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOT WORKING

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

Options

  • host: The host URL of the email server. (optional, default: localhost)
  • port: The port of the email server. (optional, default: 993)
  • username: The user name for the email account.
  • password: The password for the email account.
  • folder: The folder to read the messages from (optional, default: INBOX)
  • keep: Do not delete mail after fetching Flag to indicate if messages should be kept or deleted after reading. True if the messages should be kept, false if they should be deleted. (optional, default: true)
  • host: The mail host pattern: A pattern to filter the messages. (optional, default: localhostno pattern)port: The mail port
  • readcontent: Flag to indicate if the message content (body/attachements) should be read. True if the message content should be read, false otherwise. (optional, default: 995 false)
  • username: The username for POP3 auth (optional)
  • mimetypehandler: Sets the target data type for the content in the output schema. Possible values: string, objectmap. (optional, default: objectmap)
  • markasread: Flag to indicate if read messages should be marked as read. True if it should be marked as read, false otherwise. (optional, default: false)
  • unreadonly: Flag to indicate that only unread messages should be loaded. True if only unread messages should be fetched from the server, false if all stored messages should be loaded. (optional, default: falsepassword: The password for POP3 auth (optional)

Example

PQL

Code Block
themeEclipse
titlePOP3 Transport Handler
linenumberstrue
output = ACCESS({source='SourcePop3Source',
wrapper='GenericPull',
transport='POP3',
protocol='CSVNone',
dataHandler='Tuple',
options=[
 ['host','smtppop3.example.com'],
 ['folder','INBOX'],
 ['keep','true'],
 ['markasread','false'],
  ['unreadonly','false'],
 ['readcontent', 'true'],
 ['username','Alice'],
 ['mimetypehandler', 'objectmap'],
 ['password','***']]
})