Updated installation script

This commit is contained in:
Andris Reinman 2016-09-08 15:31:38 +03:00
parent 63f20a199a
commit d651cca039
5 changed files with 104 additions and 3 deletions

View file

@ -41,6 +41,11 @@ module.exports.sendMail = (mail, template, callback) => {
});
}
if (!mail.headers) {
mail.headers = {};
}
mail.headers['X-Sending-Zone'] = 'transactional';
getTemplate(template.html, (err, htmlRenderer) => {
if (err) {
return callback(err);