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

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

Syntax

C#
public void Close(
	bool throwExceptions
)
Visual Basic (Declaration)
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