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

On the Mailing report pages, custom reply-to address display format is broken

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.8, 4.1.0, 4.1.1, 4.1.2, 4.1.3
    • Fix Version/s: 4.2.0
    • Component/s: CiviMail

      Description

      When creating a new mailing, there is an option to provide a custom "Reply-to" address (if enabled under Mailing Settings). The options for the "Reply-To" address are the same as the options for the FROM address, which are set on Administer -> CiviMail -> From Email addresses page. These addresses MUST be in a format with quotes around the name and greater than / less than symbols such as : "name of sender" <name@domain.org> or "name of sender" <name@domain.org> around the email address.

      When it comes to the mailing report, however, these look like normal html tags, and are interpreted as such by the browser- so the address comes out with just them name : "name of sender" the email address itself is inside the tag, hidden.

      Easy fix with CRM/Mailing/Page/Report.tpl by adding the smarty |htmlentities function:

      {$report.mailing.replyto_email|htmlentities}

      I also removed the < and > around the reply-to email here, since it is already present.

      I am rolling a very simple patch, and will attach it here when I have it ready.

        Attachments

        1. After.jpg
          13 kB
          Jim Earl
        2. Before.jpg
          8 kB
          Jim Earl
        3. civimail-report-replyto-display-problem.patch
          0.3 kB
          Jim Earl

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jimurl Jim Earl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified