469,289 Members | 2,063 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

Creating a task

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
Jul 19 '05 #1
2 1581
"Lasse Edsvik" wrote ...
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
Jul 19 '05 #2
"Lasse Edsvik" <la***@nospam.com> wrote in message news:<O6**************@tk2msftngp13.phx.gbl>...
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...

---
specmurt
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Fadly Tabrani | last post: by
1 post views Thread by Wesley Gibbs | last post: by
2 posts views Thread by Michael.Covington | last post: by
reply views Thread by Matt DeJonge | last post: by
4 posts views Thread by Neil | last post: by
11 posts views Thread by CodeLeon | last post: by
9 posts views Thread by =?Utf-8?B?YmJn?= | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.