We have several pages on our web systems that use the .net system.net.mail control to send emails. The fact is that it works fine, except that now it starts to look like the smptclient class cannot actually disconnect from the server, so the SMTP server leaves this connection, and we have finished the maximum number of connections that we are allowed to open at the same time on the SMTP server, although it sends only one email at a time.
(For the record, this is an .net 2.0 asp.net application written in VB, and we are pretty sure that this is not some kind of security / virus / spam situation.)
Google and MSDN did not find anything convincing, but enough heresy in the blogs to confirm that we can not hallucinate.
Does anyone else have such a problem? (And managed to fix it?)
Of course, if it works fine, and we hallucinate, it would be nice to find out.;)
Electrons_Ahoy
source share