469,312 Members | 2,503 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Timeout problems

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
Jul 19 '05 #1
4 1213
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"
Jul 19 '05 #2
In article <eB**************@TK2MSFTNGP09.phx.gbl>, reb01501
@NOyahoo.SPAMcom says...
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.
A list server won't work because I literally have to "build" individual
emails for each respondant which has the details from their last bid on
the solicitation.

A list server will let you individualize the "same" message to everyone
on the list, but it can't pull specialized data from a database (at
least no list server I've ever used).
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.


I understand completely. And I have used server.scripttimeout to the
maximum allowable by Verio.

My question is... Can a background task be spawned to handle the
emails? I don't care if the priority is set real low as long as all the
emails get out within a few hours.

If not. Is there some sample code someone can point me to for batching
outgoing email?

--Dave
Jul 19 '05 #3
Dave Navarro wrote:
In article <eB**************@TK2MSFTNGP09.phx.gbl>, reb01501
@NOyahoo.SPAMcom says...
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.
A list server won't work because I literally have to "build"
individual emails for each respondant which has the details from
their last bid on
the solicitation.


Oh! Each user gets a different message?? I did not realize that. Yes, you're
right: a list server is out.
Was it SQL Server? You could use SQL Mail to do this ...
http://www.aspfaq.com/show.asp?id=2291

I understand completely. And I have used server.scripttimeout to the
maximum allowable by Verio.

My question is... Can a background task be spawned to handle the
emails? I don't care if the priority is set real low as long as all
the emails get out within a few hours.

http://www.aspfaq.com/show.asp?id=2143

HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #4
In article <e3**************@tk2msftngp13.phx.gbl>, reb01501
@NOyahoo.SPAMcom says...
Oh! Each user gets a different message?? I did not realize that. Yes, you're
right: a list server is out.
Was it SQL Server? You could use SQL Mail to do this ...
http://www.aspfaq.com/show.asp?id=2291


Thanks. That sounds perfect, except that Verio hasn't installed SQL
Mail and won't let me install XPSMTP.

I'm gonna have to figure out how to batch everything.

Thanks!

--Dave
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Craig Storey | last post: by
1 post views Thread by =?Utf-8?B?Sm9obiBDbGVubmV0dA==?= | last post: by
2 posts views Thread by R3al1ty | last post: by
3 posts views Thread by Mufasa | last post: by
1 post views Thread by Andrew Cooper | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.