Smtp.DisconnectAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9147)
DisconnectAsync(Object)
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Declaration
public Task<string> DisconnectAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Remarks
Represents SMTP QUIT command.