#28 — Email Timeout - Problems with Plone

by Michel Bugeja last modified Jul 09, 2009 03:39 PM
State Rejected
Version: 2.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by Michel Bugeja
Submitted on Nov 17, 2008
Responsible Damien Baty
Target release:
Plone fails to respond when CMFNotification cannot send email

Traceback (most recent call last):
  File "/opt/Plone-3.0.4/zeocluster/client1/Products/CMFNotification/NotificationTool.py", line 662, in sendNotification
    mailhost.send(this_message)
  File "/opt/Plone-3.0.4/zeocluster/client1/Products/SecureMailHost/SecureMailHost.py", line 158, in send
    subject=subject, encode=encode)
  File "/opt/Plone-3.0.4/lib/python/Products/MailHost/MailHost.py", line 144, in send
    self._send(mfrom, mto, messageText)
  File "/opt/Plone-3.0.4/zeocluster/client1/Products/SecureMailHost/SecureMailHost.py", line 268, in _send
    mail.send()
  File "/opt/Plone-3.0.4/zeocluster/client1/Products/SecureMailHost/mail.py", line 102, in send
    smtpserver = smtplib.SMTP(self.host, self.port)
  File "/opt/Plone-3.0.4/Python-2.4.4/lib/python2.4/smtplib.py", line 244, in __init__
    (code, msg) = self.connect(host, port)
  File "/opt/Plone-3.0.4/Python-2.4.4/lib/python2.4/smtplib.py", line 310, in connect
    raise socket.error, msg
error: (110, 'Connection timed out')
Steps to reproduce:
smtp server not available
Added by Damien Baty on Nov 17, 2008 05:12 PM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)dbaty
You should use Secure MaildropHost (http://plone.org/products/securemaildrophost), which allows e-mails to be sent outside of the transaction. It is a must-have if you have a lot of subscribers (or if a lot of users get notified) or if you expect latency with the SMTP server. In fact, it is a must-have unless you are working on a development server. What it does is that it saves e-mails as files on the file system, instead of connecting to a SMTP server and sending e-mails. An independent daemon then regularly looks for those files, connects to the SMTP server and eventually sends the e-mails.

No responses can be added.