The more I think about it the more I like this approach. I'll go with it as my 
#1 and only method. Thanks. 

On Dec 14, 2011, at 6:15 PM, Norman Franke <nor...@myasd.com> wrote:

> That's what I do, and it works fine. Make an HTTP request to render the page 
> and include that HTML in the email. Seems a bit unclean, but it does work. 
> One does have to be careful about session state, though. Sending a request 
> from the server to itself will not preserve the user's session without some 
> extra work.
> 
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
> 
> 
> 
> On Dec 14, 2011, at 4:58 PM, trsvax wrote:
> 
>> I would just build a Tapestry page and call it like a web service from your
>> email code and put what it returns in the email. It should not be any more
>> complicated than that. If you want it to say
>> 
>> Dear Barry
>> 
>> then make the url /email?dear=Barry
>> 
>> and the tml
>> 
>> Dear ${dear}
>> 
>> --
>> View this message in context: 
>> http://tapestry.1045711.n5.nabble.com/Generating-HTML-email-content-with-Tapestry-tp5075717p5075807.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to