Basic Notification handler

January 7, 2019 ยท View on GitHub

Basic notification handler which uses two components:

  • Content generator, to produce the notifications
  • Connectors to send the notification content

This handler can be used with the 3PID types:

  • email
  • msisdn (Phone numbers)

Generators

Connectors

Configuration

Enabled by default or with:

notification:
  handler:
    email: 'raw'

WARNING: Will be consolidated soon, prone to breaking changes.
Structure and default values:

threepid:
  medium:
    email:
      identity:
        from: ''
        name: ''
      connector: 'smtp'
      generator: 'template'
    msisdn:
      connector: 'twilio'
      generator: 'template'