MapiDeleteMessage Function

Action

Deletes a message.

Include file

Mapi.bdh

Syntax

MapiDeleteMessage( in hSession: number, 
                   in sMsgId  :string ) : boolean;
Parameter Description
hSession Valid MAPI Session Handle.
sMsgId Message ID that should be deleted.

Return value

  • true if successful
  • false otherwise

Example

See MAPI Sample