[ 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>[EMAIL PROTECTED]</email:from> > <email:to>[EMAIL PROTECTED]</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.