Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Pop3.Disconnect Method

Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9448)

Disconnect(Boolean)

Terminates the connection after either rolling back deletions or deleting messages marked for deletion.

Declaration
public string Disconnect(bool rollbackChanges)
Parameters
Type Name Description
Boolean rollbackChanges

True if messages marked for deletion should be left on the server.

Returns
Type Description
String

The exit message returned by the server.

Remarks

Represents POP3 QUIT command, with optional preceding RSET.

If the connection has already been closed, the method will fail if any messages were marked for deletion and rollback was not requested.

Disconnect()

Deletes any messages marked for deletion and terminates the connection.

Declaration
public string Disconnect()
Returns
Type Description
String

The exit message returned by the server.

Remarks

Represents POP3 QUIT command.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies