mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added textEncoding option for email
This commit is contained in:
parent
d0f9a07197
commit
bfeb7e082f
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ module.exports =
|
||||||
text: options.text
|
text: options.text
|
||||||
replyTo: options.replyTo || Settings.email.replyToAddress
|
replyTo: options.replyTo || Settings.email.replyToAddress
|
||||||
socketTimeout: 30 * 1000
|
socketTimeout: 30 * 1000
|
||||||
|
if settings.email.textEncoding?
|
||||||
|
opts.textEncoding = textEncoding
|
||||||
client.sendMail options, (err, res)->
|
client.sendMail options, (err, res)->
|
||||||
if err?
|
if err?
|
||||||
logger.err err:err, "error sending message"
|
logger.err err:err, "error sending message"
|
||||||
|
|
Loading…
Reference in a new issue