Dave Navarro wrote:
I created a web site for a local government office to handle their
procurement.
When the city modifies a solicitation, all of the respondants need to
be notified. Unfortunately, the city wants the email sent to each
respondant to be individualized, so I can't just CC or BCC it to
several hundred email addresses.
After about 200 emails, the server usually times out. The city is
hosting with Verio and Verio won't change the timeout values since
it's "virtually hosted".
Is there a way to spawn a background task to send the emails?
If not, what's the best method for batch send?
Thanks!
--Dave
This type of activity is more suited for a list server, where you can set up
a mailing list, allowing you to send a single email to the server which
forwards it to all the recipients in the list.
You could use server.scripttimeout to increase the timeout for that one
page. However, I hope you can see why Verio would frown upon this: your's
isn't the only application being hosted, and they cannot allow a single
application to adversely impact the performance of other applications by
pre-empting resources and processing cycles.
HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"