[jira] Commented: (COCOON-1622) [PATCH] SendMailTransformer and HTML body

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Commented: (COCOON-1622) [PATCH] SendMailTransformer and HTML body

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Alfred Nathaniel commented on COCOON-1622:
------------------------------------------

Applied the patch also to 2.2:  http://svn.apache.org/viewvc?view=rev&revision=674112

> [PATCH] SendMailTransformer and HTML body
> -----------------------------------------
>
>                 Key: COCOON-1622
>                 URL: https://issues.apache.org/jira/browse/COCOON-1622
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Mail
>    Affects Versions: 2.1.8
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Philippe Gassmann
>            Assignee: Helma van der Linden
>         Attachments: 20051006-sendmailtr, 20051020-sendmailtr
>
>
> The SendMailTransformer is unable to handle XML tags directly in the SAX flow.
> ex :
> <email:sendmail>
>  <email:smtphost>smtp</email:smtphost>
>  <email:from>aaa@...</email:from>
>  <email:to>bbb@...</email:to>
>
>  <email:subject>
>    Bogus sendmailtrasformer
>  </email:subject>
>  <email:body>
>    <html><body>
>      <p>this is a paragraph</p>
>      <p>another</p>
>    </body></html>
>  </email:body>
> </email:sendmail>
> It simply remove xml tags in the body !
> It a a strange behaviour since DEFAULT_BODY_MIMETYPE = "text/html" ...

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