Strange bug in TIdMessage.From.Text

Giganews Newsgroups
Subject: Strange bug in TIdMessage.From.Text
Posted by:  Dan Bassett (dbassett@bns.com.nospam)
Date: Sat, 5 Mar 2005

I think I have encountered what appears to be a bug in TIdSMTP10.0.20 when
used in Delphi 2005.  When sending multiple messages in a loop and the
TIdMessage.From.Text length is exactly 17 characters, the sending is very
hit or miss and usually doesn't make it all the way through the loop without
timing out on the server.  If I change the length of the
TIdMessage.From.Text to smaller or greater than 17, it works fine.

I have confirmed that it is not the server because I can run the same exact
code using TIdSMTP 8.0.25 in Delphi 6 and it works fine.

Is this a known issue and are there any fixes for it?  Seems really strange
to me but so far, it does in fact appear to be something wrong with this
component.

Any info would be appreciated.

Replies