Skip to content
Snippets Groups Projects
Commit cd227cd6 authored by S.Listl's avatar S.Listl
Browse files

Bulkmail bugfixing

parent 23853b33
No related branches found
No related tags found
No related merge requests found
import("system.vars");
import("system.result");
import("Communication_lib");
import("Entity_lib");
......
......@@ -248,11 +248,7 @@ Email.prototype.send = function (pUser)
else
mail.addText(mailId, "", "text/html", ENCODING, null);
if (pUser)
mail.sendMailAs(pUser, mailId);
else
mail.sendMail(mailId);
return true;
return mail.sendMailAs(pUser || "mailbridge", mailId) > 0;
}
catch (ex)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment