Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11784

Email with both HTML and Text parts only display the text part in GMail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Commons Messaging Mail 2.0.0
    • None
    • None

    Description

      When displaying a list of alternatives, rfc1341 considers that the preferred order is from the last to the first, so the richest alternative (HTML) should be placed after the basic text.

      In general, user agents that compose multipart/alternative
      entities should place the body parts in increasing order of
      preference, that is, with the preferred format last. For
      fancy text, the sending user agent should put the plainest
      format first and the richest format last. Receiving user
      agents should pick and display the last format they are
      capable of displaying. In the case where one of the
      alternatives is itself of type "multipart" and contains
      unrecognized sub-parts, the user agent may choose either to
      show that alternative, an earlier alternative, or both.

      NOTE: From an implementor's perspective, it might seem more
      sensible to reverse this ordering, and have the plainest
      alternative last. However, placing the plainest alternative
      first is the friendliest possible option when
      mutlipart/alternative entities are viewed using a non-MIME-
      compliant mail reader. While this approach does impose some
      burden on compliant mail readers, interoperability with
      older mail readers was deemed to be more important in this
      case.

      Attachments

        Activity

          People

            olli Oliver Lietz
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m