Re: If server doesn't respond, tidsmtp hangs infinitely

Giganews Newsgroups
Subject: Re: If server doesn't respond, tidsmtp hangs infinitely
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 23 Jan 2006

"arthur hoornweg" <antispam.hoornweg@casema.nl.net> wrote in message
news:CD3DE92A88EAE240antispam.hoornweg@casema.nl.net...

> My mailserver connects to a SMTP server on port 25.
> The server accepts the connection, but stays mute.
> tidsmtp.Send()  hangs, infinitely, and I have to kill the task.

Without seeing your actual code, my guess would be that you did not set the
ReadTimeout and/or ConnectTimeout property beforehand.  Indy uses infinite
timesout by default.

Gambit

Replies

None

In response to

SMTP: If server doesn't respond, tidsmtp hangs infinitely posted by arthur hoornweg on Mon, 23 Jan 2006