Dart.Mail Namespace > Smtp Class > Dispose Method : Dispose(Boolean) Method |
This method abruptly aborts the connection and releases all resources.
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.