With .net v3.5 or less it was required to manually dispose attachments after sending an email using SMTP client, is this still required in .net v4?
Asked
Active
Viewed 124 times
2 Answers
2
According to MSDN, the Dispose() method still exists in .net 4, and the notes still say you should call it, so I would assume nothing has changed.

Simon P Stevens
- 27,303
- 5
- 81
- 107
1
Yes. The class is IDisposable and the MSDN example still calls Dispose on it.

driis
- 161,458
- 45
- 265
- 341