Commit c5c3f3bd authored by Matthew Wilkes's avatar Matthew Wilkes

Actually use the sendmail SMTPMailer.

parent faac0c7b
......@@ -49,17 +49,13 @@ from OFS.SimpleItem import Item
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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment