Dart.Mail Namespace > Imap Class > Dispose Method : Dispose(Boolean) Method |
This method abruptly aborts the connection, releases all resources, and deletes any unmoved decoded attachments and Attachment.Directory.
Dispose should ONLY be used to release all resources used by the object, and the object should not be subsequently used. To gracefully disconnect from the server, use Close before calling this method. The Object cannot be used once Dispose is called.