DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36949>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36949

           Summary: SendMailTransformer and HTML body
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: [EMAIL PROTECTED]


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" ...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to