|
RE: java.net.SocketExceptio: msg#00025lang.jython.user
Do you have a firewall running? See if you can telnet to the smtp port you are trying to connect to. -Clark > 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 ------------------------------------------------------- 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_ids93&alloc_id281&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | java.net.SocketExceptio, c c |
|---|---|
| Next by Date: | sys.argv[i] with i>9 Problem ?, Jean Guillaume LALANNE |
| Previous by Thread: | java.net.SocketExceptio, c c |
| Next by Thread: | memory management problem, Carlos Garcia |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |