This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author marcin.bachry
Recipients marcin.bachry
Date 2008-10-07.14:26:13
SpamBayes Score 2.24463e-05
Marked as misclassified No
Message-id <1223389575.89.0.292427308742.issue4066@psf.upfronthosting.co.za>
In-reply-to
Content
SMTP.connect method expects _get_socket() method to return socket object:

  self.sock = self._get_socket(host, port, self.timeout)

but overriden _get_socket() method in SMTP_SSL class doesnt' have return
statement (it sets self.sock instead).  Hence I get
SMTPServerDisconnected exception when I try to send mail over ssl.

The same seems to apply to LMTP class.
History
Date User Action Args
2008-10-07 14:26:16marcin.bachrysetrecipients: + marcin.bachry
2008-10-07 14:26:15marcin.bachrysetmessageid: <1223389575.89.0.292427308742.issue4066@psf.upfronthosting.co.za>
2008-10-07 14:26:15marcin.bachrylinkissue4066 messages
2008-10-07 14:26:14marcin.bachrycreate