Mark Stosberg wrote:
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


Hmm, thanks, I'll have a look at that one too. I vaguely remember playing with it briefly at some point, ages before I got more into the OOPerl stuff.


--
Scott R. Godin
Laughing Dragon Services
www.webdragon.net

Reply via email to