Hi Attached please find a patchfile for including HTML in the <sendmail:body/> sub-tag.
Usage is as follows: <sendmail:send-mail> <sendmail:smtphost>mail.server</sendmail:smtphost> <sendmail:to>[EMAIL PROTECTED]</sendmail:to> <sendmail:from>[EMAIL PROTECTED]</sendmail:from> <sendmail:subject>RICH EMAIL CONTENT</sendmail:subject> <sendmail:body mime-type="text/html"> <html> <body> <p><b>Demo Hyperlink:</b><br/> <a href='http://xml.apache.org/cocoon2'>Link to Cocoon2</a> </body> </html> </sendmail:body> </sendmail:send-mail> Please also note that the sendmail logicsheet is not registered in the cocoon.xconf. Please add the following code to enable it: <builtin-logicsheet> <parameter name="prefix" value="sendmail"/> <parameter name="uri" value="http://apache.org/cocoon/sendmail/1.0"/> <parameter name="href" value="resource://org/apache/cocoon/components/language/markup/xsp/java/send mail.xsl"/> </builtin-logicsheet> Many thanks, Adrian Geissel email: [EMAIL PROTECTED]
sendmail.xsl.diff
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]