...
The IMAP transport handler allows the receiving of processing results as an email via IMAP.
Options
host
: The host URL of the email server.port
: The port of the email server.username
:password
:folder
:keep
:pattern
:readcontent
:mimetypehandler
:markasread
:unreadonly
:folder:
The folder (optional, default: INBOX)- keep: Do not delete mail after fetching (optional, default: true)
host
: The mail host (optional, default: localhost)port
: The mail port. (optional, default: 993)username
: The username for IMAP auth (optional)password
: The password for IMAP auth (optional)
Example
PQL
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
output = ACCESS({source='Source', wrapper='GenericPull', transport='IMAP', protocol='CSV', dataHandler='Tuple', options=[ ['host','smtp.example.com'], ['folder','INBOX'], ['keep','false'] ['username','Alice'], ['password','***']], }, result) |