Re: Intermittent Socket Error #11004

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

"Craig Stevenson" <nobo…@nowhere.com> wrote in message
news:BA188DB87524E340nobo…@nowhere.com...

> 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).

Gambit

Replies

None

In response to

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