forked from apxtri/apxtri
change cc notification
This commit is contained in:
parent
22333d7db9
commit
5f0d2ece47
@ -239,10 +239,10 @@ Notifications.manageemail = (data, template, tribe) => {
|
|||||||
const dat = {};
|
const dat = {};
|
||||||
dat.to = e;
|
dat.to = e;
|
||||||
dat.subject = Mustache.render(tplemail.subject, data);
|
dat.subject = Mustache.render(tplemail.subject, data);
|
||||||
dat.html = Mustache.render(tplemail.subject, data);
|
dat.html = Mustache.render(tplemail.html, data);
|
||||||
dat.text = Mustache.render(tplemail.text, data);
|
dat.text = Mustache.render(tplemail.text, data);
|
||||||
dat.Cc = data.Cc ? tplemail.Cc.push(data.Cc) : tplemail.Cc;
|
//dat.Cc = data.Cc ? tplemail.Cc.push(data.Cc) : tplemail.Cc;
|
||||||
dat.Bcc = data.Bcc ? tplemail.Bcc.push(data.Bcc) : tplemail.Bcc;
|
//dat.Bcc = data.Bcc ? tplemail.Bcc.push(data.Bcc) : tplemail.Bcc;
|
||||||
if (data.attachments){
|
if (data.attachments){
|
||||||
data.attachments.forEach(a=>tplemail.attachments.push(a))
|
data.attachments.forEach(a=>tplemail.attachments.push(a))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user