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

1058213 Email templates with attachments bugfix

parent 082125a5
No related branches found
No related tags found
No related merge requests found
......@@ -284,9 +284,8 @@ Email.prototype._newMailObject = function()
mail.addBase64Attachment(mailId, pAttachment.content,
DocumentTemplateUtils.getMimeType(pAttachment.templateId), pAttachment.filename, true, null);
}
mail.addBase64Attachment(mailId, pAttachment.content, pAttachment.contentType, pAttachment.filename,
true, null, null)
else
mail.addBase64Attachment(mailId, pAttachment.content, pAttachment.mimeType, pAttachment.filename, true, null, null)
});
return mailId;
......
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