MailBee.NET Objects 4.0

Pop3.ResetDeletes Method 

Resets the POP3 session, and cancels the deleted status for all messages flagged for deletion in the inbox.

public bool ResetDeletes();

Return Value

true if the method succeeds; otherwise, false.

Remarks

The developer can use this method to cancel purging messages which were flagged for deletion during the current POP3 session. Normally, messages flagged for deletion are purged (permanently deleted) when Disconnect method is called and the POP3 session is closed.

Exceptions

Exception Type Condition
MailBeeException An error occurred and ThrowExceptions is true.

See Also

Pop3 Class | MailBee.Pop3Mail Namespace | DeleteMessage | Disconnect