Re: Intermittent Socket Error #11004

Giganews Newsgroups
Subject: Re: Intermittent Socket Error #11004
Posted by:  Remy Lebeau (Indy Team) (
Date: Wed, 9 May 2007

"Craig Stevenson" <nobo…> wrote in message

> How can the SMTP send procedure be coded to simply
> retry the command if this particular error occurs?

If you are getting a socket error, then you should disconnect and
reconnect and then call Send() again.  If the error happens
consistently for the same message over and over, then the message
itself is likely malformed to begin with, or else you really are
sending to an invalid address(es).




In response to

Intermittent Socket Error #11004 posted by Craig Stevenson on Tue, 1 May 2007