More eMail sending problems... How about a viable solution...

Discussion in 'General troubleshooting' started by bgoodbody, Sep 8, 2013.

  1. bgoodbody

    bgoodbody Bill G

    Today we ran into a new eMail problem in sending eMail from our website through the SMnn server we are assigned to.

    We attempted to send 972 eMails, and at Number 943, we got the following exception in response to the send:

    Failure sending mail.

    The InnerException was:

    System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
    at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
    at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
    at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
    at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
    at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
    at System.Net.Mail.SmtpClient.GetConnection()
    at System.Net.Mail.SmtpClient.Send(MailMessage message)
    --- End of inner exception stack trace ---
    at System.Net.Mail.SmtpClient.Send(MailMessage message)
    at NNTools.eMailTools.Send1eMail(MailAddress ToAddress, String Greeting, String LastName, String Subject, String Body, String Signature, Array Attachments, MailAddress ReplyToAddress, String StyleSheet, String prfUserName, String UserHostAddress, String AttachmentDirectory, Boolean LogeMailDetail, MailAddress FromAddress) in E:\web\nausetnewco\htdocs\App_Code\NNTools.vb:line 186; System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
    at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
    at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
    at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
    at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
    at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
    at System.Net.Mail.SmtpClient.GetConnection()
    at System.Net.Mail.SmtpClient.Send(MailMessage message)

    Now they tell us that we were sending too fast (whatever that means or what the allowed speed is.

    HELP!
     
  2. FrankC

    FrankC DiscountASP.NET Staff

    Do you keep the SMTP session opened? I know SmarterMail has a session timeout.
     
  3. FrankC

    FrankC DiscountASP.NET Staff

    If you are sending through your website, it might be better off if you use LocalHost as the smtp server.
     

Share This Page