473,385 Members | 1,798 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,385 software developers and data experts.

Sending Lots of Emails

After I send a large number of e-mails (More than 100 or so) using
System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail I get an error
message that says:

The timeout period elapsed prior to obtaining a connection from the pool.

How can I query how many messages are in the connection pool? I'd like to
add some logic to pause when the pool is getting full.

--

Steve Evans
Email Services
SDSU Foundation

Nov 16 '05 #1
4 1563
ask Sp******@WreckingTheInternet.com

"- Steve -" <se****@foundation.sdsu.edu> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl...
After I send a large number of e-mails (More than 100 or so) using
System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail I get an error
message that says:

The timeout period elapsed prior to obtaining a connection from the pool.

How can I query how many messages are in the connection pool? I'd like to
add some logic to pause when the pool is getting full.

--

Steve Evans
Email Services
SDSU Foundation

Nov 16 '05 #2
Interesting assumption. If someone sends more than 100 e-mails they must be
a spammer. Of course I could also be writing an application that e-mails
all the users on my very own server with specific information about them.
But that's probably spamming also.

--

Steve Evans
Email Services
SDSU Foundation
"Vanessa" <no*******@all.here> wrote in message
news:10***************@news-01.evisp.enertel.nl...
ask Sp******@WreckingTheInternet.com

"- Steve -" <se****@foundation.sdsu.edu> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl...
After I send a large number of e-mails (More than 100 or so) using
System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail I get an error
message that says:

The timeout period elapsed prior to obtaining a connection from the pool.
How can I query how many messages are in the connection pool? I'd like to add some logic to pause when the pool is getting full.

--

Steve Evans
Email Services
SDSU Foundation


Nov 16 '05 #3
ask Sp******@WreckingTheInternet.com

"- Steve -" <se****@foundation.sdsu.edu> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl...
After I send a large number of e-mails (More than 100 or so) using
System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail I get an error
message that says:

The timeout period elapsed prior to obtaining a connection from the pool.

How can I query how many messages are in the connection pool? I'd like to
add some logic to pause when the pool is getting full.

--

Steve Evans
Email Services
SDSU Foundation

Nov 16 '05 #4
Interesting assumption. If someone sends more than 100 e-mails they must be
a spammer. Of course I could also be writing an application that e-mails
all the users on my very own server with specific information about them.
But that's probably spamming also.

--

Steve Evans
Email Services
SDSU Foundation
"Vanessa" <no*******@all.here> wrote in message
news:10***************@news-01.evisp.enertel.nl...
ask Sp******@WreckingTheInternet.com

"- Steve -" <se****@foundation.sdsu.edu> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl...
After I send a large number of e-mails (More than 100 or so) using
System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail I get an error
message that says:

The timeout period elapsed prior to obtaining a connection from the pool.
How can I query how many messages are in the connection pool? I'd like to add some logic to pause when the pool is getting full.

--

Steve Evans
Email Services
SDSU Foundation


Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dan glenn | last post by:
I'm creating HTML emails from a PHP site and sending them out to an email list (just about 40 people so far are on this list). I've tested and confirmed that these emails work in yahoo.com's...
3
by: David Wahl | last post by:
I have written a script to send an email to a large list of emails, it works fine except for one slightly major thing. Each email needs to have the receipient's email address at the bottom of the...
8
by: Good Man | last post by:
Hi I'm building a 'job posting' site of sorts. When a job is available in a particular state, I want the system to send an email to everyone who is 'watching' that state. I know how to do...
10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are...
3
by: martin smith | last post by:
Here's the scenario. I'm currently using cdosys/asp to send mail to our SMTP server. We use a product called MailFilter to check for SPAM. It doesn't work very well. If MailFilter isn't working...
1
by: Ian Taylor | last post by:
Hi all... Is it possible to send RTF-formatted emails using the .NET SmtpMail implementation? I can only find provision in the BodyFormat property of the message to send plain text or HTML...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
3
by: A | last post by:
Hi all! I would like to ask a question on sending emails... I have a web application that requires sending emails using email templates. The templates that I've made are separate HTML files...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
5
by: Kun | last post by:
i have the following code: ---------------------------------- import smtplib from email.MIMEText import MIMEText fp = open('confirmation.txt', 'rb') msg = MIMEText(fp.read()) From =...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.