cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Víctor Pergolesi <victorpergol...@codimat.com.ar>
Subject Re: How to send html/plain mail with sendmail logicsheet ?
Date Fri, 12 Jun 2009 17:36:05 GMT
Hi,  the information you need is in the link below 

http://cocoon.apache.org/2.2/1366_1_1.html

Tell us if you solve the problem, please.

I hope this help.

Victor Pergolesi
Codimat S.A.
Área Sistemas
Web: www.codimat.com.ar
Tel.: (0291) 459-2480 | 459-2424
Fax: (0291) 459-2400 | 0-800-666-42266
Don Bosco 1495 - B8003CAA Bahía Blanca - Argentina
  _____  

From: hideki tihiri [mailto:hideki.tihiri@gmail.com]
To: users@cocoon.apache.org
Sent: Fri, 12 Jun 2009 12:52:39 -0300
Subject: How to send html/plain mail with sendmail logicsheet ?


I,  
   
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:send-mail>  

<sendmail:from>...</sendmail:from>    

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

<sendmail:subject><xsp:expr>subject</xsp:expr></sendmail:subject>
   

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

<sendmail:body>TEST</sendmail:body>    

<sendmail:attachment mime-type="text/plain;charset=utf-8"><sendmail:param name="object"><xsp:expr>bodytxttmp</xsp:expr></sendmail:param></sendmail:attachment>
   

<sendmail:attachment mime-type="text/html" ><sendmail:param name="object"><xsp:expr>bodyhtmltmp</xsp:expr></sendmail:param></sendmail:attachment>
    
<sendmail:on-success>  
   
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 ?   
   
H.  
     


Este mensaje y sus adjuntos contienen información confidencial y son para uso exclusivo del
destinatario. Si hubiese recibido este mensaje por error, o contuviera información que Ud.
no desea recibir, por favor le agradecemos nos lo haga saber y lo elimine de su sistema. Cualquier
inconveniente, enviarlo a librodequejas@codimat.com.ar.
Este correo ha sido chequeado por el servidor de Codimat S.A. www.codimat.com.ar

Mime
View raw message