Click or drag to resize

SmtpCloseAsync Method (Boolean)

Sends QUIT command. Disconnects and releases all resources acquired by this object.

Namespace:  Limilabs.Client.SMTP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task CloseAsync(
	bool throwException
)

Parameters

throwException
Type: SystemBoolean
If true throws SmtpResponseException on error response.

Return Value

Type: Task
A task that represents the asynchronous close operation.
See Also