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