The IMAP transport handler allows the receiving of processing results as an email via IMAP.
Options
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 |
---|
theme | Eclipse |
---|
title | IMAP Transport Handler |
---|
linenumbers | true |
---|
|
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)
|