Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21020

alterMailContent hook: pass additional contextual details

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      TheĀ alterMailContent hook can be used to alter templates and email content before token processing occurs. Currently it only passes the subject, html, and text content to the hook, which means you have very little context to work with.

      When this is triggered via msg template generation, we should include details about the template so the hook implementation can be conditioned meaningfully.

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: