email to sendfix
This commit is contained in:
parent
5c1465322d
commit
baef67ef98
@ -290,7 +290,7 @@ Notifications.manageemail = async (data, templatename, tribe, lg,numberpersecond
|
|||||||
results.fail.push({ to: em, err: ["errorformat"] });
|
results.fail.push({ to: em, err: ["errorformat"] });
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log(email.to)
|
||||||
emailtosend.to = email.to.toLowerCase().trim();
|
emailtosend.to = email.to.toLowerCase().trim();
|
||||||
if (emailtosend.to.length>2) {
|
if (emailtosend.to.length>2) {
|
||||||
emailtosend.to=emailtosend.to.slice(0,-1);
|
emailtosend.to=emailtosend.to.slice(0,-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user