473,395 Members | 1,649 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1268
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Craig Storey | last post by:
I have a form where users logged in using sessions can edit articles in a WYSIWYG editor. Some of them take their time and don't like to save their work very often and occassionally the sessions...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
2
by: Siegfried Heintze | last post by:
I made the following change to my web.config file (see fragment below) but does not seem to affect the timeout on my web page. I have a huge session state but since I'm the only one using it, I'd...
1
by: =?Utf-8?B?Sm9obiBDbGVubmV0dA==?= | last post by:
We are experiencing timeout problems with 2 of the reports on our website at present. Basically what is happening is , we have a request to the SQL Server database to run a stored procedure to...
2
by: R3al1ty | last post by:
ASP.NET, Windows Forms, Web Services WebService Proxy Timeout = 100secs WebService Asmx = Unlimited? IIS ASP ScriptTimeout = 90secs IIS ASP.NET Execution Timeout = 110secs SQL CommandTimeout...
3
by: Mufasa | last post by:
Folks, I'm having problems with my session timeout. People using my website leave it just sitting there while they do other things. They have logged in ( using Forms Authentication ) and will be...
10
by: Zytan | last post by:
I have a TcpClient. I set the read/write timeouts at 1 minute (in milliseconds). I get a NetworkStream from it and confirm the timeouts still exist. I do a NetworkStream.Write() and then a...
2
by: Zytan | last post by:
I just had the problem occur again, with NetworkStream.Write() doing its thing with a timeout... and it just sits and waits and waits and waits... it never times outs. So, I shut the server down...
1
by: Andrew Cooper | last post by:
I've got a report that is using an ObjectDataSource to populate its data. The problem is that the report takes longer than 30 seconds to generate so it times out. If I were using an SQLDataSource...
0
by: Andrew Cooper | last post by:
I posted this in the aspnet newsgroup but thought I might have more luck with an answer here. I'd really appreciate any help I can get. Thanks. I've got a report that is using an...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.