26 lines
968 B
Plaintext
26 lines
968 B
Plaintext
From: dptaylor3 at my-dejanews.com (dptaylor3 at my-dejanews.com)
|
|
Date: Tue, 20 Apr 1999 18:06:28 GMT
|
|
Subject: smtplib.SMTP.sendmail always fails on Win95 machine.
|
|
Message-ID: <7fifn1$58d$1@nnrp1.dejanews.com>
|
|
X-UID: 1368
|
|
|
|
This is the first time I've used winsock.
|
|
I had to add/edit the following lines to smtplib.SMTP.sendmail to get it to
|
|
work on my win95 box.
|
|
|
|
destaddr=self.sock.getpeername()[0] #remote mail server name
|
|
if not self.helo_resp and not self.ehlo_resp:
|
|
if self.ehlo(destaddr) >= 400:
|
|
self.helo(destaddr)
|
|
|
|
I have no idea what this change does to winNT.
|
|
Perhaps some winsock guru can look this over and put some cleaned up and
|
|
bulletproofed version of this change into the next win95 release of python?
|
|
|
|
-----------== Posted via Deja News, The Discussion Network ==----------
|
|
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
|
|
|
|
|
|
|
|
|