Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15527

Add tpl support for defining extra mail headers (with patch)

    XMLWordPrintable

Details

    Description

      Currently within eZ Publish there is no way to specify extra mail headers for outgoing emails from within the templates. This support exists for specifying a subject, cc/bcc recipients and content type among others.

      This patch provides support within eZ Publish to define an array within templates using

      {set-block scope=root variable=extra_headers}

      to define extra email headers that should be present when mailing. Due to a limitation in set-block that prevents providing named keys, the header name and value are delimited with a semi-colon.

      The attached patch provides this support across all instances of eZMail within the trunk at this point.

      Attachments

        Activity

          People

            unknown unknown
            ecactive ecactive
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: