Date:  09/07/2005 10:30:56 AM Msg ID:  002692
From:  James Williams Thread:  002692
Subject:  Fox channel not responding error
Why am i getting a channel not responding error when the script is executing fine.
 
The script is used to send bulk emails out to our clients.
 
If there are 450 emails to be sent the script will send a copy to everyone individually so that the client does not know that they were part of a list, and will send to screen the progress of the sending eg response.write("Sending 1 of 450"). the script also updates the script timeout value to inform the script that it is still running. But at about 380 of 450 which may have taken 5-mins to run the script returns a foxweb channel is not responding error.
 
Code example
 
Script Start
.
.
.
For nLoop=1 to 450
    Response.write("Sending "+alltrim(str(nLoop))+" of 450...")
    SendEmail("emailaddress@domainname.co.uk")
    Server.AddScriptTimeOut(30,.t.)
    Response.write("complete<br>")
Endfor
.
.
.
 
Script End
WHY?
I am using version 3.1