cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1622) [PATCH] SendMailTransformer and HTML body
Date Thu, 05 Apr 2007 22:20:32 GMT

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

Helma van der Linden commented on COCOON-1622:
----------------------------------------------

I added the second patch, since it's the most complete version. I tested it in 2.1.9+, and
works. To be on the safe side, someone should check it in the most recent version.

> [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
>         Assigned To: Jean-Baptiste Quenot
>         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.


Mime
View raw message