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

Email Sent activity record should store HTML version of message if it's not empty rather than TEXT version

    Details

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

      Description

      Currently we always store TEXT version of the sent email. However, since the default state of the Send Email form presents user with HTML message input - this approach is wrong (when viewing the resulting activity, the message body will appear to be empty unless the user also entered a TEXT version of their message).

      When inserting the Sent Email activity record, we should check for non-empty HTML message and store that in civicrm_activity.details if present. NOTE: non-empty means it has content other than spaces, line and paragraph breaks.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: