mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Expose new smtp vars: 'name', and 'logger' (#854)
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
This commit is contained in:
parent
d674a12167
commit
cb944a8996
2 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,8 @@ services:
|
|||
# SHARELATEX_EMAIL_SMTP_PASS:
|
||||
# SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: true
|
||||
# SHARELATEX_EMAIL_SMTP_IGNORE_TLS: false
|
||||
# SHARELATEX_EMAIL_SMTP_NAME: '127.0.0.1'
|
||||
# SHARELATEX_EMAIL_SMTP_LOGGER: true
|
||||
# SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x"
|
||||
|
||||
################
|
||||
|
|
|
@ -285,6 +285,8 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
|
|||
port: process.env["SHARELATEX_EMAIL_SMTP_PORT"],
|
||||
secure: parse(process.env["SHARELATEX_EMAIL_SMTP_SECURE"])
|
||||
ignoreTLS: parse(process.env["SHARELATEX_EMAIL_SMTP_IGNORE_TLS"])
|
||||
name: process.env["SHARELATEX_EMAIL_SMTP_NAME"]
|
||||
logger: process.env["SHARELATEX_EMAIL_SMTP_LOGGER"] == 'true'
|
||||
|
||||
textEncoding: process.env["SHARELATEX_EMAIL_TEXT_ENCODING"]
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue