Re: [siesta-dev] test

[prev] [thread] [next] [lurker] [Date index for 2002/09/12]

From: Simon Wistow
Subject: Re: [siesta-dev] test
Date: 15:42 on 12 Sep 2002
On Thu, Sep 12, 2002 at 03:29:55PM +0100, Richard Clamp said:
> If this gets through then the new installer scripts are all groovy,
> they seemed to run cleanly at least.

Cool. I'm going to commit my new sending architecture since that all
seems to work as well.

Basically you do

	Siesta->sender->process($message);

Where sender is a sender like a cross between a Plugin and a Storage
module.

Currently the default is Siesta::Send::Sendmail 

You can change the sender using Siesta->set_sender('SMTP') (if we had an
SMTP plugin).

Is this ok? Should it be Sender::Sendmail? Is it a horrible interface?

The nice thing about this is that it makes it really easy to do a Send
plugin that allows per user preferences and makes doing bounces and
subcribe mails and whatever without code duplication or having to go
through and change code in a load of plugins or whatever.

It only took me about 5 minutes so I'm not that fussed if you think it's
horrible.








There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52