opinions of mod_perl users on MIME email sending

2007-06-18 Thread John ORourke
Hi folks, I'm wondering what modules people use for sending email? At the moment I'm using MIME::Lite but I'm doing several things myself which a bigger module might do for me: - header encoding - I can't find any modules which will Q- or B-encode headers that have the UTF-8 flag set - UT

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Jonathan Vanasco
On Jun 18, 2007, at 11:51 AM, John ORourke wrote: Hi folks, I'm wondering what modules people use for sending email? At the moment I'm using MIME::Lite but I'm doing several things myself which a bigger module might do for me: - header encoding - I can't find any modules which will Q- o

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Scott Gifford
John ORourke <[EMAIL PROTECTED]> writes: > Hi folks, > > I'm wondering what modules people use for sending email? At the > moment I'm using MIME::Lite but I'm doing several things myself which > a bigger module might do for me: You can try Mail::Box - http://search.cpan.org/~markov/Mail-Bo

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Max Kanat-Alexander
On Mon, 18 Jun 2007 16:51:18 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > I'm wondering what modules people use for sending email? We usually use the Email:: modules. (We use Email::Send for sending messages.) The API is really simple, and the maintainer is very responsive. -Ma

Re: opinions of mod_perl users on MIME email sending

2007-06-19 Thread Clinton Gormley
On Mon, 2007-06-18 at 16:51 +0100, John ORourke wrote: > Hi folks, > > I'm wondering what modules people use for sending email? At the moment > I'm using MIME::Lite but I'm doing several things myself which a bigger > module might do for me: > > - header encoding - I can't find any modules wh

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Mon, 18 Jun 2007 16:51:18 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm wondering what modules people use for sending email? At the > moment I'm using MIME::Lite but I'm doing several things myself which > a bigger module might do for me: > > - header encoding - I can't

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread John ORourke
Thanks Frank, Actually it was reading about Mime::Lite::TT::HTML on your excellent tutorial which inspired the question! I have a framework similar to TT and the like, so I'm thinking of creating something like the above module which handles all the Unicode stuff, and which allows subclassin

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Thu, 21 Jun 2007 20:56:23 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > Thanks Frank, > > Actually it was reading about Mime::Lite::TT::HTML on your excellent > tutorial which inspired the question! What a coincidence! I swear I wasn't tailing my logs or anything! ;) > I have a framewo

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
On Jun 21, 2007, at 4:21 PM, Frank Wiles wrote: I have a framework similar to TT and the like, so I'm thinking of creating something like the above module which handles all the Unicode stuff, and which allows subclassing for use with different templating systems and frameworks. Something like

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Thu, 21 Jun 2007 17:16:14 -0400 Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > Well I wasn't talking about another MP process, just a standard > > Perl daemon maybe using something like the Net::Server framework. > > > > Or if the timing isn't terribly important, just have your > > mp

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
On Jun 21, 2007, at 5:36 PM, Frank Wiles wrote: Off the top of my head? So you can centralize your SMTP onto on system if you have multiple servers in the mix. But that's what MIME::Lite and friends do if you don't specifically tell it to use a remote system. ok. relaying to a local

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Clinton Gormley
> > Yeah I've seen some neat twisted stuff, POE might be a reasonable > > alternative in the Perl space. > > POE is pretty neat. I haven't played with it much, but i liked it. > > I've done a lot of twisted stuff in the past , so its very natural to > me. I brought it up over POE though

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
On Jun 22, 2007, at 12:52 PM, Clinton Gormley wrote: Of course. My daemon wrapper code checks if that particular job is already running, and if so skips it. If the job is still running after the Nth skip, it sends me a warning email awesome. that solves just about any problem you can ha

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
On Jun 22, 2007, at 4:13 AM, Clinton Gormley wrote: Disadvantage: - you can wait for up to a minute before the mail gets processed. Although, with Schedule::Cron, you can schedule jobs every second you should write something into the first-line of the code that looks to see if there's a

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Clinton Gormley
> you should write something into the first-line of the code that looks > to see if there's a job already running; and quits if there is. Of course. My daemon wrapper code checks if that particular job is already running, and if so skips it. If the job is still running after the Nth skip, it

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread John ORourke
Jonathan Vanasco wrote: On Jun 22, 2007, at 4:13 AM, Clinton Gormley wrote: Disadvantage: - you can wait for up to a minute before the mail gets processed. Although, with Schedule::Cron, you can schedule jobs every second The database idea has some good uses - I run 120 shop sites and of

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
On Jun 22, 2007, at 1:24 PM, John ORourke wrote: The database idea has some good uses - I run 120 shop sites and of course they're constantly sending out account confirmations, order updates, etc. Currently there's no way of easily tracking what happened to an email or finding out when, fo