Explorar el Código

fixed email sender tests looking for wrong settings

Henry Oswald hace 10 años
padre
commit
a02da61cb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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?