Dart.Mail Namespace > Mailbox Class : Clear Method |
Public Shadows Sub Clear()
Dim instance As Mailbox instance.Clear()
public new void Clear()
public: new void Clear();
public: new void Clear();
Exception | Description |
---|---|
ProtocolException | Bad IMAP protocol response received from server. |
System.Net.Sockets.SocketException | A communications failure has occurred. |
This method clears all messages in SelectedMailbox. This method sets all ImapMessage.Delete flags then sends an "EXPUNGE" command to the server.