Merge pull request #79 from sharelatex/sk-allow-explicit-ses-email-config

add the driver field to email config
This commit is contained in:
Shane Kilkelly 2017-09-07 10:21:08 +01:00 committed by GitHub
commit 83d13e3ef7

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"]