Re: Problem sending 30000 mail at once

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
.



Relevant Pages

  • Re: Give modern women the husband they deserve. None.
    ... obviously ARE women living alone. ... connections to other people so it stands to reason that women are less ... friendships and continuing connections. ... Methinks Dave Sim protests to much. ...
    (soc.men)
  • Re: Bad Buyer: Scot Beckerman in Ringwood NJ
    ... Kim if this guy ever bought a ramp from them, ... we had proof that he lied on the amount of the ramp and he refused to ... there was never a reason to do a chargeback for the full 2200.00, ... as i took it up to the chicago expo back in October. ...
    (rec.games.pinball)
  • Re: Leaving rasfc
    ... some reason people on Usenet seem to be allergic to HTML. ... is probably one of the main reasons usenet is still hanging on. ... Many people have pointed out they have dial-up or slow connections. ... so they tend to use a format consistent with the main site. ...
    (rec.arts.sf.composition)
  • Re: the silliness of such things as mental effects
    ... >>activity that will move my body in the world in the slightest amount. ... > reason-based morality, since reason itself cannot motivate you to action. ... difficult to maintain that shitty attitude and eventually it will ... Maintaining the right action and its reinforcement for a ...
    (sci.cognitive)
  • Re: 94 accord, fuel pump not running sometimes when starting
    ... the only connections I've yet to clean are the connectors for the ECM ... No reason /not/ to do that...except that Honda does not ground its ECMs ... They're held on with metal friction clips. ... the panel as possible to minimize flex as you yank. ...
    (rec.autos.makers.honda)