Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

Options

  • from: The sender address
  • to: The receiver address
  • subject: The subject
  • host: The mail host (optional, default: localhost)
  • port: The mail port. (optional, default: 587)
  • tls: Using TLS. (optional, default: true)
  • username: The username for SMTP auth (optional)
  • password: The password for SMTP auth (optional)

Example

PQL

Code Block
themeEclipse
titleSMTP Transport Handler
linenumberstrue
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)