PowerTCP Mail for .NET
Clear Method (Mailbox)




Clears all messages in the current mailbox.
Syntax
Public Shadows Sub Clear() 
Dim instance As Mailbox
 
instance.Clear()
public new void Clear()
public: new void Clear(); 
public:
new void Clear(); 
Exceptions
ExceptionDescription
ProtocolExceptionBad IMAP protocol response received from server.
System.Net.Sockets.SocketExceptionA communications failure has occurred.
Remarks

This method clears all messages in SelectedMailbox. This method sets all ImapMessage.Delete flags then sends an "EXPUNGE" command to the server.

See Also

Reference

Mailbox Class
Mailbox Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic