Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 10:58 AM
Dave Navarro
Guest
 
Posts: n/a
Default 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
  #2  
Old July 19th, 2005, 10:58 AM
Bob Barrows
Guest
 
Posts: n/a
Default Re: Timeout problems

Dave Navarro wrote:[color=blue]
> 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[/color]

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"


  #3  
Old July 19th, 2005, 10:58 AM
Dave Navarro
Guest
 
Posts: n/a
Default Re: Timeout problems

In article <eBJ#A7d1DHA.2636@TK2MSFTNGP09.phx.gbl>, reb01501
@NOyahoo.SPAMcom says...[color=blue]
> 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.[/color]

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).
[color=blue]
> 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.[/color]

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
  #4  
Old July 19th, 2005, 10:58 AM
Bob Barrows
Guest
 
Posts: n/a
Default Re: Timeout problems

Dave Navarro wrote:[color=blue]
> In article <eBJ#A7d1DHA.2636@TK2MSFTNGP09.phx.gbl>, reb01501
> @NOyahoo.SPAMcom says...[color=green]
>> 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.[/color]
>
> 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.[/color]

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
[color=blue]
>
> 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.[/color]
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.


  #5  
Old July 19th, 2005, 11:00 AM
Dave Navarro
Guest
 
Posts: n/a
Default Re: Timeout problems

In article <e3htGOf1DHA.3416@tk2msftngp13.phx.gbl>, reb01501
@NOyahoo.SPAMcom says...[color=blue]
> 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[/color]

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
 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles