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

User format preference ignored when sending email

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 3.0
    • Component/s: CiviMail
    • Labels:
      None

      Description

      I tested this using the send email functionality that appears on the contact page on a site I run.

      I used the three different email preferences (html, text and both) and added text in either the text both, plain box, or both. The results are listed below.

      They were what you would expect apart from when I set my preference to plain text, added content in both the pain text and html box, but received content in html.

      Presume this is controlled by a reasonably straightforward piece of logic somewhere (if only I knew where and am happy to submit a patch if you catch me on IRC/email and can point me to the right place.

      Email Format Preference Where I put the message Result
      -------------------------------------------------------------
      HTML HTML Recieved html
      HTML Text Recevied text
      HTML Both Recevied html
      Text HTML Received html
      Text Text Received text
      Text Both Received html
      Both HTML Received html
      Both Text Received text
      Both Both Received html

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified