Search code examples
.netmailing

Do you still need to dispose attachments in .net v4 System.Net.Mail?


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?


Solution

  • 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.