SmtpProtocolSendQuit Method Ipswitch.Messaging.Framework
Send a Quit/Exit command (QUIT) to the server.

Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public SmtpResponse SendQuit()

Return Value

Type: SmtpResponse
An SmtpResponse that contains the response codes and message (or messages) sent by the server.
Exceptions

ExceptionCondition
ConnectionExceptionThe connection was terminated before sending could be completed.
InvalidOperationExceptionNo connection is available.
ObjectDisposedExceptionThis object has been disposed.
See Also

Reference