System.Net.Mail

suggest change

Remarks

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents