Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: Multiple, duplicate e-mail being sent

www.cryer.info
Managed Newsgroup Archive

Re: Multiple, duplicate e-mail being sent

Subject:Re: Multiple, duplicate e-mail being sent
Posted by:"Loren Pechtel" (lorenpechtel@hotmail.invalid.com)
Date:Fri, 7 Mar 2008 14:36:18

On Tue, 4 Mar 2008 11:23:50 -0700, "Joseph Gordon"
<pdsphx@parishdatainc.com> wrote:

>Hi,
>
>I have a program that can send an e-mail to a set of people.  It
>uses Indy to send it.  I have one user that when they run the process
>they some times gets multiple copies going to each person in the
>list.  In one case each person got 10 e-mail.  I have look thru the
>code I am using and I don't see a problem in my code.
>
>I was able to get it to send a duplicate once when I first time I ran
>the program but not again and no 10 copies, just 1 extra.  But it
>never happened again.
>
>Is there something that might 'retry' to send under some condition?
>I was wondering if there is an error condition that might cause it to
>retrying even though the e-mail is was actually sent.

I've had problems like this before.  I was able to catch it in the
act:

The mail was being successfully sent but it appeared to be hanging at
the very end and timing out.  Thus the program considered it a failed
send, the mail server actually got it, though.

I believe the culprit was an AV scanner being slow.

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive