On Thu, Jan 13, 2005 at 10:02:32AM -0500, Scott R. Godin wrote:
> 
> For a project I'm on, I'm pondering whether or not to subclass one of 
> the various Mail::* implementations out there, with an eye for 
> Mail::Mailer.
> 
> Does anyone have any recommendations in this regard? gotchas & things I 
> should watch out for ? pointers? examples? :)

I subclassed MIME::Lite::send in order to implement a "do not contact list".
I check to see if the "to", "cc" and "bcc" addresses are the on the list
and return 'undef' is so. Otherwise, I just call MIME::Lite::send to
finish the job.

That has worked well for me.

    Mark

--
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   [EMAIL PROTECTED]     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .

Reply via email to