Still need to manage your System.Net.Mail .net v4 attachments?

With .net v3.5 or less, it was required to manually remove attachments after sending email using an SMTP client, is this still required in .net v4?

+2


a source to share


2 answers


According to MSDN, the Dispose () method still exists in .net 4 and the notes still say that you should call it, so I would assume nothing has changed.



+2


a source


Yes. The IDisposable class and MSDN example still calls Dispose on it.



+1


a source







All Articles