logo       

java.net.SocketExceptio: msg#00024

lang.jython.user

Subject: java.net.SocketExceptio

Hi,

I am trying to send an e- mail using jython...

I have tried the following code

import smtplib
srv=smtplib.SMTP(localhost)

and it gives this error,

java.net.SocketException: java.net.SocketException: Software caused connection a
bort: connect

I have also tried connecting to the server by using smtpd.SMTPServer, It says smtpd.SMTPServer listening to..., but fails to get connected and gives a socket error

Could someone tell me the source of this exception

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise