On Fri, Jan 29, 2010 at 08:00:12AM +0100, Fabio Tranchitella wrote:
> * 2010-01-28 15:56, Marius Gedminas wrote:
> > I recently came up with a different and perhaps a bit simpler solution:
> >
> > * make zope.sendmail not start the thread during ZCML processing,
> > instead make it listen fo
* 2010-01-28 15:56, Marius Gedminas wrote:
> I recently came up with a different and perhaps a bit simpler solution:
>
> * make zope.sendmail not start the thread during ZCML processing,
> instead make it listen for ProcessStarting events and start the
> thread then.
I like your approac
zope.sendmail has this nasty habit of starting a background thread
during ZCML conguration, if your ZCML contains a
directive. This is Very Bad(TM) if you use things like debugzope, since
you end up with two processes watching your mail queue, which can easily
result in duplicate emails getting s