Преглед изворни кода

fixed email sender tests looking for wrong settings

Henry Oswald пре 10 година
родитељ
комит
a02da61cb0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/app/coffee/Features/Email/EmailSender.coffee

+ 1 - 1
services/web/app/coffee/Features/Email/EmailSender.coffee

@@ -52,7 +52,7 @@ 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?
+		if Settings.email.textEncoding?
 			opts.textEncoding = textEncoding
 			opts.textEncoding = textEncoding
 		client.sendMail options, (err, res)->
 		client.sendMail options, (err, res)->
 			if err?
 			if err?