System.Net.Mail
suggest changeRemarks
Dispose a MailMessage. Each attachment holds a stream, and those streams should be released. A using statement disposes the message, including when an exception is thrown. Disposing the message also disposes its attachments.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents