Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 34425 invoked from network); 19 Jul 2006 15:02:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 15:02:23 -0000 Received: (qmail 56129 invoked by uid 500); 19 Jul 2006 15:02:19 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 56080 invoked by uid 500); 19 Jul 2006 15:02:19 -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 56069 invoked by uid 99); 19 Jul 2006 15:02:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 08:02:18 -0700 X-ASF-Spam-Status: No, hits=3.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,NO_REAL_NAME,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of kochch@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 08:02:18 -0700 Received: by ug-out-1314.google.com with SMTP id m2so389311ugc for ; Wed, 19 Jul 2006 08:01:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=a44xqvP8BzxQzOYGrAVzIZx0xKeAW7XVBaK3tnrHU87pZ+yoifeffK2+QQgF1T2Sr9tPpYlVC8TZkDqn81+QzM622TAybyJWgJrwlCrtessXEROvddl4PCy4hn4MVwPb0mP23p5NlkiJa6RX3uWz8AN1EEPj2FKMVf5cxz4rSRs= Received: by 10.66.242.20 with SMTP id p20mr833834ugh; Wed, 19 Jul 2006 08:01:56 -0700 (PDT) Received: by 10.67.26.1 with HTTP; Wed, 19 Jul 2006 08:01:56 -0700 (PDT) Message-ID: Date: Wed, 19 Jul 2006 17:01:56 +0200 From: 321los@gmail.com Sender: kochch@gmail.com To: users@cocoon.apache.org Subject: Re: SendMailTransformer : problems in constructing email body using XSL In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_120692_6379105.1153321316252" References: X-Google-Sender-Auth: 32f1aea3cd65390d X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_120692_6379105.1153321316252 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Rahul, I think we both are doing the same thing, or at least similar. I've got a form with an HTMLAREA, that's supposed to be the body. After that, I want to add a fixed signature, in a new line, that is the same for every outgoing mail. The part of my sendmail stylesheet looks like that: (#{data1} is the content of my htmlarea) #{data1}<br/>my signature So accessing a new line works for me via masking (sorry if its the wrong word) of normal HTML. HTH Marco 2006/7/18, rahul.manavi@tcs.com : > > > Hi, > > I'm using cocoon "send mail transformer". > > In this case, I am writing an XSL to construct the required email format. > In this XSL I'm accessing all the request parameters from the form (of > course through sitemap.xmap). I want to insert these request parameters > inside "" (assuming 'email' as the namespace " > http://apache.org/cocoon/transformers/sendmail") but each on a new line > ("\r \n"). > > I'm having some problems in giving new line feed inside this > tag. As whatever email I get as an output, shows all the parameter values on > a single line only. > > Can you please suggest any way of achieving this? > > Thanks in advance. > > Rahul > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > > immediately and permanently delete the message > and any attachments. Thank you > > > ------=_Part_120692_6379105.1153321316252 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Rahul,

I think we both are doing the same thing, or at least similar. I've got a form with an HTMLAREA, that's supposed to be the body. After that, I want to add a fixed signature, in a new line, that is the same for every outgoing mail.
The part of my sendmail stylesheet looks like that: (
#{data1} is the content of my htmlarea)

<email:body>#{data1}&lt;br/&gt;my signature</email:body>

So accessing a new line works for me via masking (sorry if its the wrong word) of normal HTML.
HTH
Marco


2006/7/18, rahul.manavi@tcs.com <rahul.manavi@tcs.com>:

Hi,

I'm using cocoon "send mail transformer".

In this case, I am writing an XSL to construct the required email format. In this XSL I'm accessing all the request parameters from the form (of course through sitemap.xmap). I want to insert these request parameters inside "<email:body>" (assuming 'email' as the namespace "http://apache.org/cocoon/transformers/sendmail") but each on a new line ("\r \n").

I'm having some problems in giving new line feed inside this <email:body> tag. As whatever email I get as an output, shows all the parameter values on a single line only.

Can you please suggest any way of achieving this?

Thanks in advance.

Rahul
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,

review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and

immediately and permanently delete the message
and any attachments. Thank you



------=_Part_120692_6379105.1153321316252--