If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ASP Bulk Email Script using CDOSYS timesout!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-07, 15:00
ozzii ozzii is offline
Registered User
 
Join Date: Mar 2007
Posts: 194
ASP Bulk Email Script using CDOSYS timesout!

Hi,

I have a asp email script which uses cdosys to send emails with attahcments by iterating through a record set of 500 email addresses. However the script simply times out. I know you can increase the script timeout property in IIS but is there any other way of sending bulk emails with cdosys without it timing out?

Does anybody have an email script that can send mass emails efficiently?
Also how do you run such a script in background thread? Code samples would be appreciated.

Any help would be greatly appreciated
Reply With Quote
  #2 (permalink)  
Old 04-19-07, 16:25
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
The real question here is "why" ?
Why would you want to send out 500 e-mails at any single instance?
Why not look at using sprocs in your database that can be scheduled as jobs to run.
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 04-20-07, 10:37
ozzii ozzii is offline
Registered User
 
Join Date: Mar 2007
Posts: 194
Well its suppose to be done a the end of the day. The reason is to send out an alert for jobs that have been saved by the user that match their criteria which have been posted that day.

How do i use sprocs to do the above am using mySQL by the way?
Reply With Quote
  #4 (permalink)  
Old 04-23-07, 03:26
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Easier solution: DTS Package.
__________________
George
Twitter | Blog
Reply With Quote
  #5 (permalink)  
Old 04-24-07, 15:04
ozzii ozzii is offline
Registered User
 
Join Date: Mar 2007
Posts: 194
whats a dts package. I've searched the web and all it refers to is SQL server however like I mentioned in my previous post am using MySQL which is a completely different relational database to SQL server.

What about using Windows Hosting Script. would that work? I dont have much experience on it and cant find any tutorials on the net either. Dont suppose you have any experience with it and how i could achieve the above task?
Reply With Quote
  #6 (permalink)  
Old 04-30-07, 11:44
khurram007 khurram007 is offline
Registered User
 
Join Date: Apr 2007
Posts: 29
First of all check what is the server time out value. Put on top of the asp page you are running the following code.
Code:
<%
Response.write Server.ScriptTimeout
Response.end 'This will not execute any ASP code below.
%>
Then after determining what is the current timeout value, you can replace the above added code with the following:
Code:
<%
Server.ScriptTimeout=1800
%>
Remember the value is equal to no. of seconds.

Hope this Helps...

Khurram.
Reply With Quote
  #7 (permalink)  
Old 12-06-10, 01:36
John Cena John Cena is offline
Registered User
 
Join Date: Dec 2010
Posts: 1
Thumbs up Bulk Email

So-called millions CDs are commonly advertised in spam. These are CD-ROMs purportedly containing lists of e-mail addresses, for use in sending spam to these addresses. Such lists are also sold directly online, frequently with the false claim that the owners of the listed addresses have requested (or "opted in") to be included. Such lists often contain invalid addresses. In recent years, these have fallen almost entirely out of use due to the low quality e-mail addresses available on them, and because some e-mail lists exceed 20GB in size. The amount you can fit on a CD is no longer substantial.mass email software feature allows you to focus globally when sending emails since it can support international characters.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On