Skip to content

html content may not have a body tag - check if we are sending Automated

If the html template has no body tag, the content removed. Now the html content is kept instead.

It would be really handy to use this extension for automated messages as well. With this PR alterMailContent hook will also be called for automated messages, but I couldn't figure out how to check if we are sending them: $content['workflow_name'] is not set and these are the other parameters:

    [mailingID] => 
    [campaign_id] => 
    [template_type] =>

@kurund can you help me?

Edited by masetto

Merge request reports