I'm *very* interested in seeing such a service. I want to keep in line with using all of tapestry's i8n and be able to send multi-part mime messages which have html and plain text.

Please do put something up on the wiki and let us all know.

goody goody.

-mike


Henri Dupre wrote:

I don't agree on this... Also I don't see really differences between
"static" email and interactive HTML. In the emails we generate, there is
lots of dynamic content although there is no form handling, we use the same components plus many other tapestry features. Velocity is fine, but not when
you start to have complex emails. What makes tapestry great for this task
are the templates. In addition, I rather not add another technology to our
project, Velocity is simple, but just *more* to learn and manage for our
other developers.

And I'll give you a very usefull usage of sending html pages: for
exceptions, we send the tapestry error page by email (in tapestry 3) while we give to the client a friendly error page. Logging is fine but it doesn't
give you all the detailed info of an error.

I've been working on an EmailService for T4, you can inject it in any page and the interface is quite simple. It takes a list of properties (for email
headers, from/to/subject), a page (String or object) and eventually an
object map if you want to call the external interface of your page.
It is working 90% now and it is relying on a fresh request cycle, so it will
be possible to thread the whole thing. Getting a fresh request
cycle requires quite a bit of hacking, I may need to write a specific engine
object. I can post the code on the wiki once I'm done if anyone is
interested.







On 5/3/06, James Carman <[EMAIL PROTECTED]> wrote:


Tapestry is for creating interactive HTML, not a static HTML-formatted
email
(IMHO).  I think you're trying to use an elephant gun to hunt squirrel
here.
Velocity is perfect for generating email text.  You can still use your
architecture, you just put some helper beans in the VelocityContext.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 6:17 PM
To: Tapestry users; [EMAIL PROTECTED]
Subject: Re: Tapestry to generate mails ?

I had this related link over at my delicious (
http://del.icio.us/andyhot/tapestry ).
It's entitled 'Sending Tapestry-generated email with Spring' and it's at:
http://www.behindthesite.com/blog/C1931765677/E2094832857/index.html



>From  Stephane Decleire <[EMAIL PROTECTED]>:

> Hi,
>
> I would like to know if anybody use Tapestry to generate its email ?
> Indeed, generate mails based on templates is very similar to generate
> HTML pages ...
> As an exemple, i would like to implement the famous "I've forgot my
> password" by sending the user an email based on a template where the
> password should be inserted.
> I would be very interested in a Tapestry approach to do this in order to
> reuse all of my existent architecture (Tapestry/Spring/Hibernate).
>
> Thanks in advance.
>
> --
> Stιphane Decleire
>
> 05 56 57 99 20
> 06 63 78 69 06
>
>


--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thanks,

Henri.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to