I am using a Gmail SMTP server to send mail from VB.Net. Although it sends some emails fine, for some others it returns the following error:
Failure s
From what I read on the net, the Winsock error code associated with this exception is WSAECONNABORTED.
You can read more about it at this address for an explanation: WSAECONNABORTED
Basically it means that the server closed the connection while your application was trying to send a large e-mail.
Maybe you should check the Gmail documentation to see if it has some limitation on message size, or total number of messages sent. Looks like you're pumping too much data on the socket.