Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78896 invoked from network); 12 Jun 2009 15:52:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 15:52:58 -0000 Received: (qmail 32255 invoked by uid 500); 12 Jun 2009 15:53:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 32186 invoked by uid 500); 12 Jun 2009 15:53:08 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 32178 invoked by uid 99); 12 Jun 2009 15:53:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 15:53:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hideki.tihiri@gmail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 15:53:00 +0000 Received: by yw-out-1718.google.com with SMTP id 4so1080471ywq.78 for ; Fri, 12 Jun 2009 08:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=k1t09nylb9dHw5MDya/2n/xRRAnSW3WsgbsUOwmEt9U=; b=ERhPFsad+M17RhtPcJCBnTt44EGDnJmBfAyTX3Z176Cz0icg5lprQGOUoD9/OqKCAV Ybtncm2Ojofi5g736j386nW+x8yZV0bg0s+NiWECYsrwW5H7i992gm3hT8SlQoh5PDqN ija4hSoCRYX3So5a7CgwE884jvpE11v43ffIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Dwrbt1/PUN5sMpB36+AREuu3OaYLjBPIi6llqiNO0KMbfUat8vRFChn2WkR2scyzsj nnHXvLljYoMzkbfvrQJHaMj+dl/hTll/sLwncQtrdky89J8hGcO7UFYyyuk0uXKlq+MD HcwRX6nJedmbC4nuKQgKBLzTnBjvivir77vLw= MIME-Version: 1.0 Received: by 10.90.99.3 with SMTP id w3mr408178agb.62.1244821959661; Fri, 12 Jun 2009 08:52:39 -0700 (PDT) Date: Fri, 12 Jun 2009 17:52:39 +0200 Message-ID: <933a1aac0906120852l4e0584b6vb0b26a8b6af58f5a@mail.gmail.com> Subject: How to send html/plain mail with sendmail logicsheet ? From: hideki tihiri To: users@cocoon.apache.org Content-Type: multipart/alternative; boundary=0016362836d6b6d86b046c28b2cf X-Virus-Checked: Checked by ClamAV on apache.org --0016362836d6b6d86b046c28b2cf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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): ... subject TEST bodytxttmp < xsp:expr>bodyhtmltmp 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 TEST or not ? HAs anyone experience with it ? H. --0016362836d6b6d86b046c28b2cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I,
=A0
I do not succeed in sending an HTML mail (with= also a regular text as fallback in case the browser does not support it)
=A0
I have following code (snippet):
=A0
=A0
<sendmail:se= nd-mail>

<sendmail:from= >...</<= /font>sendmail:from&= gt;

<sendmail:to><esql:ge= t-string column=3D"email"/></sendmail:to>

<sendmail:subj= ect><xs= p:expr>subject</xsp:expr></sendmail:subject>

<sendmail:smtp= host><u= til:get-sitemap-parameter name=3D"smtphost"/>= ;</sendmail:smtphost>

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

<sendmail:atta= chment mime-type=3D"text/plain;charset=3Dutf-8"= ><sendmail:param name=3D"object"><xsp:expr>bodytxttmp</= xsp:expr>&= lt;/sendmail:param></sendmail:attachment>

<sendmail:atta= chment mime-type=3D"text/html" ><sendmail:param name=3D"object"><= ;xsp:expr>= bodyhtmltmp</xsp:expr></sendmail:param></sendmail:attachment>

<sendmail:on= -success>
=A0
In GMAil the regular text shows AND after also= the the HTML text.
=A0
In hotmail I get a lot of strange characters (= I support that has to do with the UTD- 8 ?
=A0
bodytxttmp and bodyhtmltmp are String instance= s.
=A0
Also, do I need to define the <sendmail:body>TEST</sendmail:body> or not ?
=A0
HAs anyone experience with it ?
=A0
H.
=A0
--0016362836d6b6d86b046c28b2cf--