[Catalyst] Suggestions for sending email from cron job using 'Catalyst' templates?

Matthias Dietrich mdietrich at cpan.org
Mon Apr 11 14:34:19 GMT 2011


Hi,

Am 11.04.2011 um 13:50 schrieb Jon Schutz:
> MyApp->handle_request(HTTP::Request->new('GET',
> 'http://localhost/send/email'), \$response);

never used this module, but be careful: Catalyst looks at the URL you are calling the app, so all your links may point to localhost within your mail with this example.

Sorry, don't have a better approach than calling the app with a request, but I'm also interested in solutions to this!

Matthias

-- 
rainboxx Software Engineering
Matthias Dietrich

rainboxx Matthias Dietrich   |  Phone: +49 7141 / 2 39 14 71
Königsallee 43               |  Fax  : +49 3222 / 1 47 63 00 
71638 Ludwigsburg            |  Mobil: +49  151 / 50 60 78 64
                             |  WWW  :  http://www.rainboxx.de

CPAN: http://search.cpan.org/~mdietrich/
XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html







More information about the Catalyst mailing list