@tiledesk/tiledesk-server 2.3.65 → 2.3.66
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/services/emailService.js +3 -3
package/package.json
CHANGED
package/services/emailService.js
CHANGED
@@ -129,7 +129,7 @@ class EmailService {
|
|
129
129
|
if (process.env.EMAIL_CC_ENABLED ==="true" || process.env.EMAIL_CC_ENABLED === true ) {
|
130
130
|
this.ccEnabled = true;
|
131
131
|
}
|
132
|
-
winston.info('EmailService ccEnabled: ' + ccEnabled);
|
132
|
+
winston.info('EmailService ccEnabled: ' + this.ccEnabled);
|
133
133
|
|
134
134
|
}
|
135
135
|
|
@@ -1131,7 +1131,7 @@ class EmailService {
|
|
1131
1131
|
references = message.request.attributes.email_references;
|
1132
1132
|
}
|
1133
1133
|
|
1134
|
-
if (
|
1134
|
+
if (that.ccEnabled==true) {
|
1135
1135
|
if (message.request.attributes.email_cc) {
|
1136
1136
|
cc = message.request.attributes.email_cc;
|
1137
1137
|
}
|
@@ -1303,7 +1303,7 @@ class EmailService {
|
|
1303
1303
|
references = message.request.attributes.email_references;
|
1304
1304
|
}
|
1305
1305
|
|
1306
|
-
if (
|
1306
|
+
if (that.ccEnabled==true) {
|
1307
1307
|
if (message.request.attributes.email_cc) {
|
1308
1308
|
cc = message.request.attributes.email_cc;
|
1309
1309
|
}
|