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

Email History Records - Replace Tokens Before Saving to the DB

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently, if you place tokens in the body of an email message and send it using the built-in "Send Email to Contact(s)" task - the tokens are parsed/replaced on the sent mail, BUT the message is stored in civicrm_email_history with the raw tokens. Given that we are storing a separate email_history for each contact/recipient - and the admin can view the sent msg via Activity History "details" - we should store the msg w/ the tokens replaced with contact data values.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: