Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1622

[PATCH] SendMailTransformer and HTML body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.8
    • None
    • Blocks: Mail
    • None
    • Operating System: other
      Platform: Other
    • 36949
    • Patch available

    Description

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

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--20051006-sendmailtr
          1.0 kB
          Philippe Gassmann
        2. ASF.LICENSE.NOT.GRANTED--20051020-sendmailtr
          2 kB
          Jean-Baptiste Quenot

        Issue Links

          Activity

            People

              hepabolu Helma van der Linden
              phil@anyware-tech.com Philippe Gassmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: