locked
Error while sending mail RRS feed

  • Question

  • Description: System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to write data to the transport connection: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
       at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.Mime.SevenBitStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.Mime.SevenBitStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.DelegatedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.Base64Stream.FlushInternal()
       at System.Net.Base64Stream.Close()
       at System.Net.Mime.MimePart.Send(BaseWriter writer)
       at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer)
       at System.Net.Mail.Message.Send(BaseWriter writer, Boolean sendEnvelope)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       --- End of inner exception stack trace ---
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at BookMyShow.CommonLibrary.clsMail.blnSendMail(String strSubject, String strBody)

    atteched file size is 100MB.

    Can any one plz help...

    • Moved by Min Zhu Thursday, July 12, 2012 9:02 AM (From:Regular Expressions)
    Wednesday, July 11, 2012 10:37 AM

All replies