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 > Sending Emails 50 at a time

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-03, 13:04
internic99 internic99 is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Sending Emails 50 at a time

I have a list of recipients that I currently send a newsletter to. The server that my site is hosted on only allows up to 50 emails at a time. Currently I have a dropdown list that steps 1-50, 51-100, 101-151, etc.

I just select the first 50, press send and after it completes, I hit the back button and select the next 50. This gets very tedious over time. I was wondering if there was any way that I could set it to automatically go back to the first page and send the next 50 in the database.

BTW...I am using ASP
Reply With Quote
  #2 (permalink)  
Old 10-10-03, 14:17
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
What are you using to send the emails... CDONTS? ASPMail?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 10-14-03, 23:58
internic99 internic99 is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
ASPMail
Reply With Quote
  #4 (permalink)  
Old 10-15-03, 00:46
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
I use ASPMail as well. What I've done is made a table in a MS SQL Server DB as a message queue. When I want to send an email automatically, I add a new record to the message queue. Then I wrote some VB in an ActiveX Script in a DTS object that queries the DB for new records in the message queue, flags the message sent, attempts to send the email using the ASP COM object (if it fails, I change the flag back to unsent), repeat through the recordset of unsent records. Then just schedule the DTS package to run every 30 minutes or so.
__________________
That which does not kill me postpones the inevitable.
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