Sending bulk email
Posted on 2011-02-15
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" />