[ZCM] [ZC] 766/ 2 Resolve "MailHost Import Problem"
Collector: Zope Bugs, Features, and Patches ...
zope-coders-admin@zope.org
Tue, 14 Jan 2003 04:37:39 -0500
Issue #766 Update (Resolve) "MailHost Import Problem"
Status Resolved, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/766
==============================================================
= Resolve - Entry #2 by regebro on Jan 14, 2003 4:37 am
Status: Pending => Resolved
This has been solved, and the fix will be included in 2.6.1. To solve the problem in 2.6.0, open the MailHost properties tab and save the settings to re-save the port as an integer.
________________________________________
= Request - Entry #1 by Anonymous User on Jan 13, 2003 10:47 am
After export and import, the "SMTP Port" of a MailHost object is no longer an integer, so an exception gets raised every time a mail is (tried to) sent.
----- traceback -----
Traceback (innermost last):
[some other stuff]
Module Products.MailHost.MailHost, line 125, in send
Module Products.MailHost.MailHost, line 144, in _send
Module smtplib, line 187, in __init__
Module smtplib, line 222, in connect
TypeError: an integer is required
----- traceback -----
Workaround: open the MailHost object and click on "Save Changes"
==============================================================