You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Zsolt <zk...@intland.com> on 2005/10/29 18:45:16 UTC
How to use Email Templates for struts?
Hi,
I want to send my struts-1.2.7 application emails using templates. Which
template engine should I use?
Zsolt
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to use Email Templates for struts?
Posted by Paul Benedict <pa...@yahoo.com>.
You can also just use basic JSP technology. You can
use a servlet include to retrieve the output from a
JSP, which could your mail.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to use Email Templates for struts?
Posted by Martijn Smit <Ex...@Gangkast.com>.
You can use velocity (http://jakarta.apache.org/velocity/) for
generating your templates. When you're done parsing you feed it to the
JavaMail API. Velocity is a very powerful template engine and you can
even use is for Struts' "Views".
good luck,
Martijn
Martin Gainty wrote:
> Zsolt-
>
> Most of the Mail Templaing engines I have seen cost money
> But there is a shareware template library available at jsourcery
> http://jsourcery.com/output/java.net/atleap/0.5-rc1/com/blandware/atleap/model/core/MailTemplate.html
>
> HTH,
>
> Martin-
> ----- Original Message ----- From: "Zsolt" <zk...@intland.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Saturday, October 29, 2005 12:45 PM
> Subject: How to use Email Templates for struts?
>
>
>> Hi,
>>
>> I want to send my struts-1.2.7 application emails using templates. Which
>> template engine should I use?
>>
>> Zsolt
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
--
31.69 nHz = once a year
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to use Email Templates for struts?
Posted by Martin Gainty <mg...@hotmail.com>.
Zsolt-
Most of the Mail Templaing engines I have seen cost money
But there is a shareware template library available at jsourcery
http://jsourcery.com/output/java.net/atleap/0.5-rc1/com/blandware/atleap/model/core/MailTemplate.html
HTH,
Martin-
----- Original Message -----
From: "Zsolt" <zk...@intland.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Saturday, October 29, 2005 12:45 PM
Subject: How to use Email Templates for struts?
> Hi,
>
> I want to send my struts-1.2.7 application emails using templates. Which
> template engine should I use?
>
> Zsolt
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org