From bfeb7e082f8532f6cd617daf32338c9de0d5c33b Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Thu, 13 Oct 2016 14:21:54 +0100 Subject: [PATCH] added textEncoding option for email --- services/web/app/coffee/Features/Email/EmailSender.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/app/coffee/Features/Email/EmailSender.coffee b/services/web/app/coffee/Features/Email/EmailSender.coffee index 501a06b3c8..6a459a490b 100644 --- a/services/web/app/coffee/Features/Email/EmailSender.coffee +++ b/services/web/app/coffee/Features/Email/EmailSender.coffee @@ -52,6 +52,8 @@ module.exports = text: options.text replyTo: options.replyTo || Settings.email.replyToAddress socketTimeout: 30 * 1000 + if settings.email.textEncoding? + opts.textEncoding = textEncoding client.sendMail options, (err, res)-> if err? logger.err err:err, "error sending message"