|Subject:||Re: If server doesn't respond, tidsmtp hangs infinitely|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Mon, 23 Jan 2006|
"arthur hoornweg" <email@example.com> wrote in message
> 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.
SMTP: If server doesn't respond, tidsmtp hangs infinitely posted by arthur hoornweg on Mon, 23 Jan 2006