PowerTCP Mail for .NET
Purge Method




Purge all messages marked for deletion.
Syntax
Public Function Purge() As ImapResponse()
Dim instance As Mailbox
Dim value() As ImapResponse
 
value = instance.Purge()
public ImapResponse[] Purge()
public: ImapResponse*[]* Purge(); 
public:
array<ImapResponse^>^ Purge(); 

Return Value

An ImapResponse object encapsulating the response from the server.
Exceptions
ExceptionDescription
ProtocolExceptionBad IMAP protocol response received from server.
System.Net.Sockets.SocketException 
Remarks
Purges all messages marked for deletion (ImapMessage.Deleted == true). This method uses the IMAP EXPUNGE command to delete all marked messages. Not normally used because marked messages are automatically deleted when the mailbox is closed or another mailbox is selected.
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