Issues quit command (CloseCommand()()()() method) and closes the connection.

Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll) Version: 3.0.1213.909

Syntax

C#
public void Close(
	bool throwExceptions
)
Visual Basic
Public Sub Close ( _
	throwExceptions As Boolean _
)
Visual C++
public:
void Close(
	bool throwExceptions
)

Parameters

throwExceptions
Type: System..::..Boolean
If false does NOT throw exceptions.

Exceptions

ExceptionCondition
Lesnikowski.Client..::..ServerException Socket errors (only if 'throwExceptions==true'), closes connection anyway.

See Also