[ZCM] [ZC] 766/ 1 Request "MailHost Import Problem"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Mon, 13 Jan 2003 10:47:42 -0500


Issue #766 Update (Request) "MailHost Import Problem"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/766

==============================================================
= 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"
==============================================================