cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hideki tihiri <>
Subject How to send html/plain mail with sendmail logicsheet ?
Date Fri, 12 Jun 2009 15:52:39 GMT

I do not succeed in sending an HTML mail (with also a regular text as
fallback in case the browser does not support it)

I have following code (snippet):



<sendmail:to><esql:get-string column="email"/></sendmail:to>


<sendmail:smtphost><util:get-sitemap-parameter name="smtphost"/></


<sendmail:attachment mime-type="text/plain;charset=utf-8"><sendmail:paramname

<sendmail:attachment mime-type="text/html" ><sendmail:param name="object"><

In GMAil the regular text shows AND after also the the HTML text.

In hotmail I get a lot of strange characters (I support that has to do with
the UTD- 8 ?

bodytxttmp and bodyhtmltmp are String instances.

Also, do I need to define the <sendmail:body>TEST</sendmail:body> or not ?

HAs anyone experience with it ?


View raw message