18 Aug
2000
18 Aug
'00
4:02 p.m.
From: "Chris Withers" <chrisw@nipltd.com>
I've noticed that sending mail from within Zope the <sendmail> tab or mailhost.send() is very slow (like it adds a few seconds to the time it takes to get a page back from a post).
Why is that? how can I make it faster?
I'd thought about having the actual mail sending done in a different thread/process but I don't know how I'd do that or whether it'd be worth doing.
You could use Xron to schedule sending the email. You could schedule it for later or for "now". Either way the email would be sent asyncronously from the original request. (But check out another email dated today titled "Xron test"). -- Loren