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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.11, 2.3.0
    • 2.1.12, 2.3.0
    • Blocks: Mail
    • None
    • Patch available
    • Blocks: Mail - 1.0.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: