Re: Problem sending 30000 mail at once
- From: Onur Güzel <kimiraikkonen85@xxxxxxxxx>
- Date: Tue, 7 Apr 2009 11:00:47 -0700 (PDT)
On Apr 7, 2:38 pm, niclas <tonicvo...@xxxxxxxxxxx> wrote:
Hi
I've this small application I've built which loops thru our database
and generates 30000 mails and sends them using System.Net.SmtpClient,
but it's not working very well. At times it won't send for a couple of
minutes, all in all it takes about 48 hours for all the mails to be
sent. Our mail provider says it's because the mail server can only
handle 10 connections simultaneuosly and that would be the reason why
it halts. I've looked over the SmtpClient class but can't find any
property to set max amount of connections. Does this problem sound
familiar? Could that be the reason? If so, is it possible to set the
max amount of simultaneous connections from the smtpclient to the
mailserver?
Thanks for any help,
Niclas
As being said it must a SMTP server limitation with 10. Plus, use your
code in a try-catch block and determine whether it's about your
application or not.
Also, the reason of the limitation of simultaneous mail sending might
be because of avoiding spamming or excessive system usage.
Onur Güzel
.
- References:
- Problem sending 30000 mail at once
- From: niclas
- Problem sending 30000 mail at once
- Prev by Date: Re: Problem sending 30000 mail at once
- Next by Date: Re: VS Web Dev 2008 Express & hyperlink - Error
- Previous by thread: Re: Problem sending 30000 mail at once
- Next by thread: Design Problem: Abstract Class inheriting from a List(Of AnotherAbstactClass)
- Index(es):
Relevant Pages
|