You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jasha Joachimsthal (JIRA)" <ji...@apache.org> on 2008/06/18 12:46:45 UTC

[jira] Commented: (COCOON-2213) Change check on mime-type to enable custom encoding of the body

    [ https://issues.apache.org/jira/browse/COCOON-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605907#action_12605907 ] 

Jasha Joachimsthal commented on COCOON-2213:
--------------------------------------------

Useful in cases like
<email:body mime-type="text/html;charset=UTF-8">
</email:body>
<email:body mime-type="text/plain;charset=UTF-8">
</email:body>

> Change check on mime-type to enable custom encoding of the body
> ---------------------------------------------------------------
>
>                 Key: COCOON-2213
>                 URL: https://issues.apache.org/jira/browse/COCOON-2213
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: Mail
>    Affects Versions: 2.1.11
>            Reporter: Jasha Joachimsthal
>            Priority: Minor
>             Fix For: 2.1.12-dev (Current SVN)
>
>         Attachments: SendMailTransformer_mime-type.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.