Mapi.deleteMail Method
Removes the specified message from the message store.
Syntax
public int deleteMail(str messageID)
Run On
Called
Parameters
- messageID
Type: str
The unique message ID for the message to delete.
Return Value
Type: int
The status #SUCCESS_SUCCES or an error code, which can be found in the #MAPI macro.
Remarks
The message ID can be retrieved by using the findNext method.