SMTPMail.Send(MailMessage) - deliberately slow?

From: Phill. W (P.A.Ward_at_o-p-e-n-.-a-c-.-u-k)
Date: 07/02/04


Date: Fri, 2 Jul 2004 11:35:39 +0100

Have Our Friends in Redmond put delay loops into the
SMTPMail.Send() method, or does it /really/ take almost a second
to send a mail message?

I've written a windows service that send emails. It was originally
intended for /small/ volume, direct communication with our clients.
Somebody, however, has decided they want to send a message to
the entire client-list - nearly 200,000 entries - and, at our current
throughput, this will take us several *days* to send (we're /peaking/
at around 60 message a /minute/ at the moment. We've tracked the
bottleneck down to the SMTPMail.Send( MailMessage ) method and,
monitoring the SMTP Server at the "other end", it looks as though the
Framework class is opening and closing a "connection" to the server for
each and every message, which is slowing things down tremendously.
(The SMTP Server is happily dealing with the actual send requests at
a rate equivalent to 10 message a second, if we could monopolise it).

So, are there any properties in the SMTPMail namespace (or /anything/
else that we could configure to improve our throughput, or am I going
to have to resort to using raw sockets and bounce through the SMTP
protocol myself?

TIA,
    Phill W.



Relevant Pages

  • Re: qmail not listening
    ... authenticated SMTP and giving you these URLs: ... to your domain, not by clients. ... mail.vianaonline.com in your mail clients as the SMTP server. ... create a number of other PTR records as well, ...
    (freebsd-isp)
  • Re: CDO/CDONTS and Images
    ... Is the email making it to the SMTP server (for MS server shut down the smtp ... service and watch Inetpub\mailroot\Pickup)? ... "Scott McNair" wrote in message ... > crashes the mail message. ...
    (microsoft.public.inetserver.asp.general)
  • Re: POP3 users have sending problem
    ... That's a good idea if you only have a handful of clients to reconfigure, ... Having the SMTP server on exchange route to a smart host (your ... >> authentication settings for SMTP. ...
    (microsoft.public.exchange.admin)
  • Re: using my ISPs SMTP instead of Exchange
    ... Use their smarthost for everything (which would make ... >Bellnet.ca will accept email email from any smtp server on the planet ... >accept from clients on their network. ... > A kludge fix, which doesn't work when my users are using OWA. ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange 2007 with Apple Mail
    ... you more on using entourage or webmail but for now i have to find a way to ... make Apple Mail work:( ... my Outlook or OWA clients, this is only happening with the Apple Mail ... Make sure the clients are set up to authenticate to the SMTP server. ...
    (microsoft.public.exchange.connectivity)