add the driver field to email config

This commit is contained in:
Shane Kilkelly 2017-06-21 10:59:19 +01:00
parent 4b46a4e655
commit 0c65c4d963

View file

@ -396,6 +396,7 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
settings.email = settings.email =
fromAddress: process.env["SHARELATEX_EMAIL_FROM_ADDRESS"] fromAddress: process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]
replyTo: process.env["SHARELATEX_EMAIL_REPLY_TO"] or "" replyTo: process.env["SHARELATEX_EMAIL_REPLY_TO"] or ""
driver: process.env["SHARELATEX_EMAIL_DRIVER"]
parameters: parameters:
#AWS Creds #AWS Creds
AWSAccessKeyID: process.env["SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID"] AWSAccessKeyID: process.env["SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID"]