Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 850 Bytes

basic-handler.md

File metadata and controls

40 lines (36 loc) · 850 Bytes

Basic Notification handler

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'