Stephen, This patch works fine with Qmail and, wait for it, MS Exchange :-) (the latter has been causing problems for me for the past 2 weeks). I am a very happy man. Thank you ! chas
I was having lots of trouble with <dtml-sendmail>, and I investigated the code for MailHost. Instead of using the excellent smtplib module (that ships with Python) to send EMail, the folks at DC decided to write their own, using sockets.
The attatched patch replaces 100+ lines of socket-based code with 2 line calls to smtplib. I think that this will improve the reliability of MailHost dramatically. As a side effect, the timeout and localhost properties of MailHosts are gone.
So far, the basic <dtml-sendmail> tag works perfectly. Someone try this out and tell me what you think. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
Attachment Converted: "d:\mail\eudora-mailinglists\attach\mailhost.smtplib.patch"