Click or drag to resize
MimeKit

MailServiceDispose Method

Releases all resource used by the MailService object.

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

Implements

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