[Catalyst-dev] C::V::Email::Template: how to use from cron

Enno van Amerongen enno at tty.nl
Tue Jul 20 15:48:59 GMT 2010


Thanks Devin, that's what I was thinking as well. Too bad we can't reuse 
the C::V::Email::Template code though.

Enno

Devin Austin wrote:
> No reason you should have to do this through C::V::Email::Template. 
>  You could just write a batch script that processes the template, and 
> sends the rendered data as it would be through the view.
>
> On Tue, Jul 20, 2010 at 7:43 AM, Enno van Amerongen <enno at tty.nl 
> <mailto:enno at tty.nl>> wrote:
>
>     Hi list,
>
>     We're currently busy implementing Catalyst::View::Email::Template
>     to take care of sending all our templated mail.
>     >From within Catalyst this is easy to use and works.
>
>     The problem is, we need to send email batches as well and want to
>     reuse the same templated mail setup, but how do you call
>     Catalyst::View::Email::Template, including its processing, without
>     calling it through a webserver. Is this possible at all?
>
>     Thanks in advance,
>
>     Enno van Amerongen
>
>
>     _______________________________________________
>     Catalyst-dev mailing list
>     Catalyst-dev at lists.scsys.co.uk <mailto:Catalyst-dev at lists.scsys.co.uk>
>     http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
>
>
>
> -- 
> Devin Austin
> http://www.codedright.net
> 9702906669 - Cell
> ------------------------------------------------------------------------
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>   





More information about the Catalyst-dev mailing list