Use juice to prepare html messages
This commit is contained in:
parent
c031ea7747
commit
4f2d66c30c
8 changed files with 251 additions and 67 deletions
|
@ -251,7 +251,7 @@ function formatMessage(message, callback) {
|
|||
renderAndSend(body && body.toString(), '', false);
|
||||
});
|
||||
} else {
|
||||
renderAndSend(campaign.html, campaign.text, true);
|
||||
renderAndSend(campaign.htmlPrepared || campaign.html, campaign.text, true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue