Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2213

Change check on mime-type to enable custom encoding of the body

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.11, 2.2.1
    • Fix Version/s: 2.1.12, 2.2.1
    • Component/s: Blocks: Mail
    • Labels:
      None
    • Other Info:
      Patch available
    • Affects version (Component):
      Blocks: Mail - 1.0.0
    • Fix version (Component):
      Blocks: Mail - 1.1.0-SNAPSHOT

      Description

      Since the patch in COCOON-1622 was applied, a check is done on the mime-type for the output format. It checks if the value is equal to either text/plain or text/html. It may be necessary to explicitly set a charset in the mime-type. This means the check for the mime type should not equals but startsWith.

      COCOON-1622 seems to be only applied in the 2.1 branch, not in 2.2.

        Attachments

        1. SendMailTransformer-plaintext.patch
          1 kB
          Jasha Joachimsthal
        2. SendMailTransformer_mime-type.patch
          1 kB
          Jasha Joachimsthal

          Activity

            People

            • Assignee:
              anathaniel@apache.org Alfred Nathaniel
              Reporter:
              jashajoachimsthal Jasha Joachimsthal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: