[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/MailHost/MailHost.py Actually use the sendmail SMTPMailer.
Matthew Wilkes
matthew at matthewwilkes.co.uk
Wed Jun 30 05:56:59 EDT 2010
Log message for revision 114002:
Actually use the sendmail SMTPMailer.
Changed:
U Zope/branches/2.12/src/Products/MailHost/MailHost.py
-=-
Modified: Zope/branches/2.12/src/Products/MailHost/MailHost.py
===================================================================
--- Zope/branches/2.12/src/Products/MailHost/MailHost.py 2010-06-30 09:36:20 UTC (rev 114001)
+++ Zope/branches/2.12/src/Products/MailHost/MailHost.py 2010-06-30 09:56:59 UTC (rev 114002)
@@ -49,17 +49,13 @@
from zope.interface import implements
from zope.sendmail.maildir import Maildir
+from zope.sendmail.mailer import SMTPMailer
from zope.sendmail.delivery import DirectMailDelivery, QueuedMailDelivery, \
QueueProcessorThread
from interfaces import IMailHost
from decorator import synchronized
-# Use our own TLS/SSL-aware mailer since the zope.sendmail does
-# not support TLS/SSL in this version (should be replaced with
-# the next version)
-from mailer import SMTPMailer
-
queue_threads = {} # maps MailHost path -> queue processor threada
LOG = logging.getLogger('MailHost')
More information about the Zope-Checkins
mailing list