IIS Server - Server keep sending e-mail

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > August 2005 > Server keep sending e-mail





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Server keep sending e-mail
wrytat

2005-08-26, 2:51 am

There's a part in my program code that iterate an array list, and then send
an e-mail for each item in the list. I think I made a mistake in the codes
previously or what, it just keep sending e-mail non-stop. So I stopped
running the program, expecting things will be normal again. But I discovered
that the server still keep sending out e-mail when I have already stop the
program. This has already persisted for 4 days, and today morning, I saw 6000
emails in my mailbox.

I removed IIS, and everything resumed to normal. I installed IIS again, the
server started sending e-mails again. What should I do?
Chris Crowe [IIS MVP]

2005-08-26, 2:51 am

Is this program a web program or something else. You say you removed IIS and
the problem went away?

I assume you are using CDO NTS since after the removal of IIS it stopped. In
that case when you removed IIS you also removed the IIS SMTP Server. This is
what actually picks up the request from the pickup folder and delivers it.

After installing IIS the email returned which means one of two things.

There was heaps of email sitting in the folder that the IIS SMTP server is
looking for and it did what it is designed to and delivered it or you
program is still running.

For a start stop the IIS SMTP Server

Either go to the IIS Management control
open control panel
select administrative tools
open Internet Services Manager
Open the tree and find the "Default SMTP Virtual Server"
right click and select stop

or

Open control panel (go to classic view if needed)
goto Administrative Tools
Select Services
Find the "Simple Mail Transfer Protocol" and set it to be disabled via the
properties. Also stop the service that will then stop the email being sent
if you are using CDONTS

If you are stuck in a loop your app could sent 100,000 messages so check the
IIS SMTP folder

by default under c:\inetpub\mailroot

Delete the messages, and then re-enable the SMTP Server

But make sure your app code has been fixed.
--

cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"wrytat" <wrytat@discussions.microsoft.com> wrote in message
news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> There's a part in my program code that iterate an array list, and then
> send
> an e-mail for each item in the list. I think I made a mistake in the codes
> previously or what, it just keep sending e-mail non-stop. So I stopped
> running the program, expecting things will be normal again. But I
> discovered
> that the server still keep sending out e-mail when I have already stop the
> program. This has already persisted for 4 days, and today morning, I saw
> 6000
> emails in my mailbox.
>
> I removed IIS, and everything resumed to normal. I installed IIS again,
> the
> server started sending e-mails again. What should I do?



wrytat

2005-08-26, 7:55 am

Hi Thanks. It's a web application (asp.net).

There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt? Or
do I delete all the folders?

Thank you.

"Chris Crowe [IIS MVP]" wrote:

> Is this program a web program or something else. You say you removed IIS and
> the problem went away?
>
> I assume you are using CDO NTS since after the removal of IIS it stopped. In
> that case when you removed IIS you also removed the IIS SMTP Server. This is
> what actually picks up the request from the pickup folder and delivers it.
>
> After installing IIS the email returned which means one of two things.
>
> There was heaps of email sitting in the folder that the IIS SMTP server is
> looking for and it did what it is designed to and delivered it or you
> program is still running.
>
> For a start stop the IIS SMTP Server
>
> Either go to the IIS Management control
> open control panel
> select administrative tools
> open Internet Services Manager
> Open the tree and find the "Default SMTP Virtual Server"
> right click and select stop
>
> or
>
> Open control panel (go to classic view if needed)
> goto Administrative Tools
> Select Services
> Find the "Simple Mail Transfer Protocol" and set it to be disabled via the
> properties. Also stop the service that will then stop the email being sent
> if you are using CDONTS
>
> If you are stuck in a loop your app could sent 100,000 messages so check the
> IIS SMTP folder
>
> by default under c:\inetpub\mailroot
>
> Delete the messages, and then re-enable the SMTP Server
>
> But make sure your app code has been fixed.
> --
>
> cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
>
>
>

wrytat

2005-08-26, 7:55 am

After I removed and installed IIS, I tried to use Visual Studio .NET 2003 to
open my web application, but it returns me an error message saying that,
"Visual Studio .Net has detected that the specified web server is not running
ASP.NET version 1.1. You will be unable to run ASP.Net applications or
services." What can I do?

"wrytat" wrote:
[vbcol=seagreen]
> Hi Thanks. It's a web application (asp.net).
>
> There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
> Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt? Or
> do I delete all the folders?
>
> Thank you.
>
> "Chris Crowe [IIS MVP]" wrote:
>
Chris Crowe [MVP]

2005-08-26, 5:59 pm

If you open Internet Services Manager, right click on the default web site
and select the home directory tab.

Click the button titled "Configuration"

Have a look at the .aspx extension

does it point to v1.1.4322 version of the framework?

If it points to v1.0.3705 then you need to run the command
"aspnet_regiis.exe"

The following command installs the ASP.NET version associated with the tool
and updates the script maps of all existing ASP.NET applications. Note that
only applications that are currently mapped to an earlier version of ASP.NET
are affected.

Aspnet_regiis -i
see

http://msdn.microsoft.com/library/d...r /> iisexe.asp



--
Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"wrytat" <wrytat@discussions.microsoft.com> wrote in message
news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...[vbcol=seagreen]
> After I removed and installed IIS, I tried to use Visual Studio .NET 2003
> to
> open my web application, but it returns me an error message saying that,
> "Visual Studio .Net has detected that the specified web server is not
> running
> ASP.NET version 1.1. You will be unable to run ASP.Net applications or
> services." What can I do?
>
> "wrytat" wrote:
>


wrytat

2005-08-28, 8:48 pm

I couldn't find a .aspx extension. And how do I run the command
"aspnet_regiis.exe"? Thank you.

"Chris Crowe [MVP]" wrote:

> If you open Internet Services Manager, right click on the default web site
> and select the home directory tab.
>
> Click the button titled "Configuration"
>
> Have a look at the .aspx extension
>
> does it point to v1.1.4322 version of the framework?
>
> If it points to v1.0.3705 then you need to run the command
> "aspnet_regiis.exe"
>
> The following command installs the ASP.NET version associated with the tool
> and updates the script maps of all existing ASP.NET applications. Note that
> only applications that are currently mapped to an earlier version of ASP.NET
> are affected.
>
> Aspnet_regiis -i
> see
>
> http://msdn.microsoft.com/library/d...r /> iisexe.asp
>
>
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...
>
>
>

wrytat

2005-08-28, 8:48 pm

Thank you. I've figured out how to run the command "aspnet_regiis.exe", to
install it. Thank you very much.


"Chris Crowe [MVP]" wrote:

> If you open Internet Services Manager, right click on the default web site
> and select the home directory tab.
>
> Click the button titled "Configuration"
>
> Have a look at the .aspx extension
>
> does it point to v1.1.4322 version of the framework?
>
> If it points to v1.0.3705 then you need to run the command
> "aspnet_regiis.exe"
>
> The following command installs the ASP.NET version associated with the tool
> and updates the script maps of all existing ASP.NET applications. Note that
> only applications that are currently mapped to an earlier version of ASP.NET
> are affected.
>
> Aspnet_regiis -i
> see
>
> http://msdn.microsoft.com/library/d...r /> iisexe.asp
>
>
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com