On Fri, Apr 11, 2008 at 4:49 PM, J. Shirley <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 11, 2008 at 3:51 AM, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 11, 2008 at 11:42 AM, Paul Makepeace <[EMAIL PROTECTED]> wrote: > > > I see there's an Email plugin and wondered if this is enough to send > > > email from a form safely & securely or whether something more involved > > > like a port of NMS CGI exists? > > > > > > http://search.cpan.org/~mramberg/Catalyst-Plugin-Email-0.08/Email.pm > > > http://nms-cgi.sourceforge.net/ > > > > > > It's terribly easy to get this wrong so wanted some feedback from > > > people who'd previously implemented something like this live before > > > inadvertently turning my site into a spam conduit :-) > > > > > > I've got a related question - does anyone send bulk emails with that > > plugin? Is the delay reasonable when sending let's say a hundred > > emails or do I need a background mechanism for that? I have now a > > forking solution - but it is a bit complex (and for mod_perl they > > recommend to do it in a 'cleanup' handler instead of a forked > > process). > > > > > > I've been dying to play with > > http://search.cpan.org/~btrott/Email-Send-TheSchwartz-0.01/lib/Email/Send/TheSchwartz.pm > > I like TheSchwartz because it's fairly simple, easy to get going > and... has this module ready. I'm hoping to have a reason to play > with it in the next couple of months.
This is interesting - but the documentation unfortunately does not answer following questions: - The worker looks like a polling daemon - how often does it poll the database? Would it be feasible solution on an SQLite database (which does not work very well with many concurrent connections). - How should I run the worker process so that it does not die unexpectedly? Should I put it into inittab or perhaps should I run it in a pair of processes that would fork another one if one of them dies? -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/