473,385 Members | 1,400 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 1562
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 =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.