Link to home
Create AccountLog in
Avatar of _MMG_
_MMG_

asked on

Sending bulk email

Hello,

I'm trying to send an email for over 65,000 users via an asp.net application with Net.Mail.SmtpClient.

However, I'm getting this exception:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

I have updated web.config to
<httpRuntime executionTimeout="400000" useFullyQualifiedRedirectUrl="true" maxRequestLength="614400" requestLengthDiskThreshold="10240" />

Any ideas?
Thanks!
Avatar of AriMc
AriMc
Flag of Finland image

Over 65000 users? Are they really asking for your mail or are you trying to write a spam-bot?

Avatar of _MMG_
_MMG_

ASKER

it's a newsletter - they are expecting the email
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account