Skip to content

(WIP) html content may not have a body tag - check if we are sending Automated Messages

masetto requested to merge no_body_match into master

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?

Merge request reports