You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Alfred Nathaniel (JIRA)" <ji...@apache.org> on 2008/07/04 22:19:31 UTC

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

    [ 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@aaa.ccc</email:from>
>  <email:to>bbb@bbb.ddd</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.