Re: how to make smtplib.SMTP('localhost') work on window xp

2008-10-02 Thread Tim Roberts
zxo102 [EMAIL PROTECTED] wrote: In my case, I implement an application with python to accomplish collecting real time data from a serial port: com1 which is connected to some xbee hardwares. The python logging module is used to save the information generated at runtime into a log file. Since the

Re: how to make smtplib.SMTP('localhost') work on window xp

2008-09-29 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], zxo102 wrote: SMTPServerDisconnected: Connection unexpectedly closed Does the SMTP server on localhost mention anything about the connection attempt in its log? If you telnet/netcat to port 25 on localhost, does anything interesting happen? --

Re: how to make smtplib.SMTP('localhost') work on window xp

2008-09-29 Thread zxo102
On 9月29日, 下午2时53分, Lawrence D'Oliveiro [EMAIL PROTECTED] central.gen.new_zealand wrote: In message [EMAIL PROTECTED], zxo102 wrote: SMTPServerDisconnected: Connection unexpectedly closed Does the SMTP server on localhost mention anything about the connection attempt in its log? If you

Re: how to make smtplib.SMTP('localhost') work on window xp

2008-09-29 Thread Steve Holden
zxo102 wrote: Hi, I am trying to use python module smtplib to send my email out on window xp (localhost). import smtplib server = smtplib.SMTP('localhost') but I got the error information as follows: Traceback (most recent call last): File interactive input, line 1, in ? File

Re: how to make smtplib.SMTP('localhost') work on window xp

2008-09-29 Thread zxo102
On 9月29日, 下午7时29分, Steve Holden [EMAIL PROTECTED] wrote: zxo102 wrote: Hi, I am trying to use python module smtplib to send my email out on window xp (localhost). import smtplib server = smtplib.SMTP('localhost') but I got the error information as follows: Traceback (most recent

how to make smtplib.SMTP('localhost') work on window xp

2008-09-27 Thread zxo102
Hi, I am trying to use python module smtplib to send my email out on window xp (localhost). import smtplib server = smtplib.SMTP('localhost') but I got the error information as follows: Traceback (most recent call last): File interactive input, line 1, in ? File c:\python24\lib\smtplib.py,