Click or drag to resize
MimeKit

MimeMessageDispose Method

Releases all resources used by the MimeMessage object.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public void Dispose()

Implements

IDisposableDispose
Remarks
Call Dispose when you are finished using the MimeMessage. The Dispose method leaves the MimeMessage in an unusable state. After calling Dispose, you must release all references to the MimeMessage so the garbage collector can reclaim the memory that the MimeMessage was occupying.
See Also