SMTPClient ConnectionTimedOut: Cannot connect to 10.10.10.10:25

Bob Courchaine bobc at nfldinet.com
Thu Dec 15 22:07:27 UTC 2005


What does "This does not work" mean, Bernhard?

Do you get any error message back on the telnet session?

What OS are you using? Have you checked log files?

Bob


> Hi Squeakers,
> 
> I am still struggling with getting Celeste to send mails again. I tried
> to do a simpler test:
> 1. I created a POP3 test mailbox at my ISP (aon.912501254.test at aon.at).
> 2. I created an account for the test mailbox in Outlook Express.
> 3. I verified that I can send mail to the new mailbox. using the SMTP
> server email.aon.at. This SMTP server does not need any authentication.
> 4. I executed the following:
> 
> SMTPClient deliverMailFrom: 'aon.912501254.test at aon.at' to:
> #('aon.912501254.test at aon.at') text:
> 'Subject: this is a test
> 
> Hello from Squeak!
> ' usingServer: 'email.aon.at'
> 
> I immediately get the walkback ConnectionTimedOut: Cannot connect to
> 195.3.96.71:25. I tried to connect to the SMTP server using telnet on a
> command prompt:
> telnet email.aon.at 25
> This does not work. This probably means that this is not a Squeak
> problem after all. However, how does sending mail from Outlook Express
> work then? Does anyone have a tip for me how I can debug this further?
> I'd be extremly thankful!
> 
> Regards,
> Bernhard
> 
> ----- Original Message ----- From: "Bernhard Pieber" <bernhard at pieber.com>
> To: <squeak-dev at lists.squeakfoundation.org>
> Sent: Sunday, December 11, 2005 3:27 PM
> Subject: SMTPClient ConnectionTimedOut: Cannot connect to 10.10.10.10:25
> 
> 
>> Hi Squeakers,
>>
>> For some reason I lost the ability to send mails using Celeste. I
>> tried the following in a 3.9a-6704 image:
>>
>> | smtpClient |
>> smtpClient := SMTPClient new.
>> smtpClient
>> user: 'smtpuser;
>> password: 'smtppassword';
>> openOnHost: (NetNameResolver addressForName: 'smtp.domain.com'
>> timeout: 20) port: 25.
>> [smtpClient
>> mailFrom: 'email at domain.com'
>> to: #('email at domain.com')
>> text: 'From: test
>> To: "not listed"
>> Subject: this is a test
>>
>> Hello from Squeak!
>> '.
>> smtpClient quit] ensure: [smtpClient close]
>>
>> I get a ConnectionTimedOut-Exception: Cannot connect to
>> 10.10.10.10:25. The strange thing is that the exception is raised
>> instantaneously. However, I think the timeout should only occur after
>> 45 seconds.
>>
>> What am I missing? I would be thankful for any help.
>>
>> Bernhard
>>
>> P.S. In my image the Monticello package Network is based on
>> Network-CdG.21 but has a lot of changes in the working copy. Why is
>> this the case?
>>
> 
> 



More information about the Squeak-dev mailing list