The SMTP transport handler allows the sending of processing results as an email via SMTP.

Options

Example

PQL

output = SENDER({sink='Sink',
wrapper='GenericPush',
transport='SMTP',
protocol='CSV',
dataHandler='Tuple',
options=[
 ['from','odysseus@example.com'],
 ['to','me@example.com'],
 ['subject','Subject'],
 ['host','smtp.example.com'],
 ['tls','true'],
 ['username','Alice'],
 ['password','***']],
}, result)