Timeout Error in Mail script

Results 1 to 3 of 3

Thread: Timeout Error in Mail script

  1. #1
    Join Date
    Dec 1969

    Default Timeout Error in Mail script

    Hi,<BR>I&#039;m trying to create a Newsletter script, where emails will be sent to subscribers periodically. I&#039;ve tried this by extracting the email addresses of each subscriber from database and send mail individually to each recipient until the recordset reaches EOF. But it is giving me Timeout Error from Server. Can anyone pls suggest a solution for this.I&#039;m using Persist software ASP Email component. Thanks in advance.<BR>Abhra

  2. #2
    Join Date
    Dec 1969

    Default ASP is inherently unsuited....

    ... to the creation of mass mailing scripts, or in fact any other operation that takes longer than a few short seconds. It&#039;s a client-server framework meant to provide quick interactive communication, and the timeout is a necessary part of it, due to HTTP&#039;s fundamental statelessness. You can get away with &#039;mass&#039; mailing to say 50 or 100 people (depending on your server&#039;s power) but larger lists are a real problem.<BR><BR>at worst, you should be using WSH. at best, you should have a &#039;real&#039; executable doing the mailing for you, perhaps with a web front-end via a message queue if you need it to be web-based.<BR><BR>personally, I usually use WSH because it&#039;s a simple quick whip-up, but I&#039;ve also got a little executable I wrote here which can mail my chosen content to a list generated from an ADO data source. they&#039;re not hard to write....<BR><BR><BR>j<BR>http://rtfm.atrax.co.uk/

  3. #3
    Join Date
    Dec 1969

    Default RE: Timeout Error in Mail script

    Check out this sample code for "Using CDONTS Component to Send Batch Emails"<BR><BR>Word document:<BR>http://www.asp101.com/resources/visitors/UsingCdonts.doc<BR><BR>Text file:<BR>http://www.asp101.com/resources/visitors/UsingCdonts.txt<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts