Every time I attempt to send an e-mail with large attachments I get the following error:
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in system.dll
Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
followed by several other errors, eventually ending with the throwing of the error:
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an invocation.
The e-mail is still sent correctly, so why does this error occur.
Sending small attachments or no attachments works fine.