You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by beyaNet Consultancy <be...@ntlworld.com> on 2004/05/09 13:21:44 UTC
How do I use sendmail from jxt?
Hi,
I have some xsp code which sends mail to a specified user, and I now
want to convert the code to jxt, how do I do it. My code is:
<sendmail:send-mail>
<sendmail:charset>ISO-8859-1</sendmail:charset>
<sendmail:smtphost>smtp.test.com</sendmail:smtphost>
<sendmail:from>test@test.com</sendmail:from>
<sendmail:to>test@test.com</sendmail:to>
<sendmail:subject>Welcome!</sendmail:subject>
<sendmail:body><xsp:expr>your-order</xsp:expr></sendmail:body>
</sendmail:send-mail>
regards
Peter
Re: How do I use sendmail from jxt?
Posted by Leszek Gawron <ou...@wlkp.org>.
On Sun, May 09, 2004 at 12:21:44PM +0100, beyaNet Consultancy wrote:
> Hi,
> I have some xsp code which sends mail to a specified user, and I now
> want to convert the code to jxt, how do I do it. My code is:
>
> <sendmail:send-mail>
>
> <sendmail:charset>ISO-8859-1</sendmail:charset>
>
> <sendmail:smtphost>smtp.test.com</sendmail:smtphost>
>
> <sendmail:from>test@test.com</sendmail:from>
>
> <sendmail:to>test@test.com</sendmail:to>
>
> <sendmail:subject>Welcome!</sendmail:subject>
>
> <sendmail:body><xsp:expr>your-order</xsp:expr></sendmail:body>
> </sendmail:send-mail>
>
JXT is only a templating language. If you want to perform any business logic
you have to do it in flow.
lg
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ ouzo@wlkp.org _\\()//_
.'/()\'. Phone: +48(501)720812 / // \\ \
\\ // recursive: adj; see recursive | \__/ |
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org