I've got a bit of code that generates an email and sends it out when a user
completes a form. This morning it started spewing out an infinite loop of
emails. I altered the form to make sure it's only sending out one message,
and it is:


' .Send
Response.Write "To: " & .To : Response.Flush

It's only sending it out once from the ASP page, so apparently the problem
is with my SMTP service (which is IIS6). It's up to 5000 messages off one
submit so far, and it shows no intention of stopping. I've even rebooted
the box, and as soon as I enable SMTP it starts filling up the Queue
folder. Right now I've got SMTP disabled.

Is there any way to REALLY flush out the SMTP, so it clears out all items?
I assumed clearing the queue would do it, but as I said it keeps coming
back.

Has anybody else run into this endless loop problem in their SMTP service?

Regards,
Scott

Re: SMTP Endless Loop by Bernard

Bernard
Thu Nov 04 22:14:40 CST 2004

This is weird. Now, do a test wit this kb
XFOR: How to Test Outbound Mail Flow With a File in the Pickup Folder
http://support.microsoft.com/?id=297700

the file should be deleted once it pickup by smtp and place in queue folder.
and once it's delivered, it should again removed from queue folder and you
should get one copy of the mail.

it sounds like the request get written in the folders, but never get
removed...

after the above test, try to send ONE via your program. and see if the file
get removed.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Scott McNair" <scott.mcnair@sfmco.takethispartout.com> wrote in message
news:Xns95977487B847Dsfmco@207.46.248.16...
> I've got a bit of code that generates an email and sends it out when a
user
> completes a form. This morning it started spewing out an infinite loop of
> emails. I altered the form to make sure it's only sending out one
message,
> and it is:
>
>
> ' .Send
> Response.Write "To: " & .To : Response.Flush
>
> It's only sending it out once from the ASP page, so apparently the problem
> is with my SMTP service (which is IIS6). It's up to 5000 messages off one
> submit so far, and it shows no intention of stopping. I've even rebooted
> the box, and as soon as I enable SMTP it starts filling up the Queue
> folder. Right now I've got SMTP disabled.
>
> Is there any way to REALLY flush out the SMTP, so it clears out all items?
> I assumed clearing the queue would do it, but as I said it keeps coming
> back.
>
> Has anybody else run into this endless loop problem in their SMTP service?
>
> Regards,
> Scott



Re: SMTP Endless Loop by Scott

Scott
Fri Nov 05 08:35:33 CST 2004

Scott McNair <scott.mcnair@sfmco.takethispartout.com> wrote in
news:Xns95977487B847Dsfmco@207.46.248.16:

> Has anybody else run into this endless loop problem in their SMTP
> service?

Followup: I found out why it was doing this. I had installed a program
called Fundelete (by Sysinternals,
http://www.sysinternals.com/ntw2k/source/fundelete.shtml) that would
monitor all deleted items (even system deletes) and put them in the recycle
bin. Somehow this was causing the pickup folder to not get cleared. As
soon as I uninstalled the program, everything worked as it should.

Regards,
Scott McNair