Deletes, from the server, the last message that was received via the Receive
The deleted message will be moved to the “Deleted Items” folder.
The message is permanently deleted, and this is performed when the Logout
If the Receive
method was not called, or if the last call did not return a message (for instance, due to an error), the call to Delete
will result in Error 26.
This method returns an error code, so it can be called as a function (&
Err = &
Extended Data Types: MAPISession
.NET, Java, Ruby, Visual Basic, Visual FoxPro
MAPISession Data Type
OutlookSession Data Type
POP3Session Data Type