Add support for SendGrid as Email notification handler

This commit is contained in:
Maxime Dor
2017-09-27 01:55:37 +02:00
parent 61addd297a
commit f3bbc7c7c6
11 changed files with 556 additions and 76 deletions

View File

@@ -97,6 +97,7 @@ threepid:
validation:
local: 'classpath:threepids/email/validate-local-template.eml'
remote: 'classpath:threepids/email/validate-remote-template.eml'
msisdn:
connector: 'twilio'
generator: 'template'
@@ -130,6 +131,35 @@ session:
enabled: true
server: 'root'
notification:
# handler:
# 3PID-medium: 'handlerId'
handlers:
sendgrid:
api:
key: ''
identity:
from: ''
name: ''
templates:
invite:
subject: ''
body:
text: ''
html: ''
session:
validation:
local:
subject: ''
body:
text: ''
html: ''
remote:
subject: ''
body:
text: ''
html: ''
view:
session:
local: