mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #361 from djwf/master
Pass ignoreTLS option to nodemailer
This commit is contained in:
commit
d556cbaacf
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ else if Settings?.email?.parameters?.sendgridApiKey?
|
||||||
logger.log "using sendgrid for email"
|
logger.log "using sendgrid for email"
|
||||||
nm_client = nodemailer.createTransport(sgTransport({auth:{api_key:Settings?.email?.parameters?.sendgridApiKey}}))
|
nm_client = nodemailer.createTransport(sgTransport({auth:{api_key:Settings?.email?.parameters?.sendgridApiKey}}))
|
||||||
else if Settings?.email?.parameters?
|
else if Settings?.email?.parameters?
|
||||||
smtp = _.pick(Settings?.email?.parameters, "host", "port", "secure", "auth")
|
smtp = _.pick(Settings?.email?.parameters, "host", "port", "secure", "auth", "ignoreTLS")
|
||||||
|
|
||||||
|
|
||||||
logger.log "using smtp for email"
|
logger.log "using smtp for email"
|
||||||
|
|
Loading…
Reference in a new issue