[Solar-talk] Solar_Mail_Transport_None

Antti Holvikari anttih at gmail.com
Fri Jun 15 05:41:23 PDT 2007


On 6/15/07, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
> Hi,
> Just a tiny idea: an empty mail adapter following the idea of
> Solar_Auth_Adapter_None: Solar_Mail_Transport_Adapter_None, a
> "mail-transport adapter that never sends a message". I'm using one
> like this, and I think it is useful. When I'm developing it's usually
> convenient to turn e-mails off, and I used to do this spreading flags
> in the code to check if e-mails should be sent (dirty, dirty!). Of
> course this can be better solved with an adapter.

+1

-- 
Antti Holvikari


More information about the solar-talk mailing list