Creating a task

L

Lasse Edsvik

Hello

I have a problem. I have a database with 1000 e-mails that i use in my
mailinglist. And when i send them mails it takes kinda long since i attach a
..pdf file each time. so i was wondering if there is a way in asp to create a
task on the webserver using asp to trigger a script that sends the mails.
sure i could use server.scripttimeout but the thing is that i dont want to
wait 30 seconds for the page to finish loading. and if there will be 3000 in
near future i'll have to wait for a very loooooong time.

anyone know how to create a task using asp dynamically?

Best regards
/Lasse
 
R

Robb Meade

...
anyone know how to create a task using asp dynamically?

Not sure what database you are using, but if it were SQL Server for example
you could create a stored procedure to run xp_sendmail and by sending it
parameters you could do exactly what you want, leaving SQL Server to send
the emails in the background whilst your ASP page completes and goes onto
the next task.

Regards

Robb
 
S

specmurt

Lasse Edsvik said:
I have a problem. I have a database with 1000 e-mails that i use in my
mailinglist. And when i send them mails it takes kinda long since i attach a
.pdf file each time. so i was wondering if there is a way in asp to create a
task on the webserver using asp to trigger a script that sends the mails.
sure i could use server.scripttimeout but the thing is that i dont want to
wait 30 seconds for the page to finish loading. and if there will be 3000 in
near future i'll have to wait for a very loooooong time.

anyone know how to create a task using asp dynamically?

Any third party task scheduling component will be OK. For examples
Task Scheduler from http://www.avalio.com...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,095
Messages
2,570,616
Members
47,232
Latest member
helpplease!

Latest Threads

Top