[Catalyst-dev] C::V::Email::Template: how to use from cron
Devin Austin
devin.austin at gmail.com
Tue Jul 20 15:55:01 GMT 2010
On Tue, Jul 20, 2010 at 9:48 AM, Enno van Amerongen <enno at tty.nl> wrote:
> 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 t=
he
>> 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
>>
>>
>
>
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
Whoops, top posted last time. Anyway, there's no real reason to invoke
Catalyst to send mails, and eventually I'm thinking you'll want to move from
cron to something like POEx::WorkerPool to handle your batch email
processing.
Anyway, I digress :-)
-- =
Devin Austin
http://www.codedright.net
9702906669 - Cell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20100720/f=
8b585b9/attachment.htm
More information about the Catalyst-dev
mailing list