MapiSaveMessage Function

Action

Saves changes to a message. A message can be changed with MapiSetMessage functions and afterwards - those changes can be saved with this function.

Include file

Mapi.bdh

Syntax

MapiSaveMessage( in hSession: number, 
                 in hMessage: number,
                 in sMsgId  : string ) : boolean;
Parameter Description
hSession Valid MAPI Session Handle
hMessage Valid MAPI Message Handle
sMsgId Valid MAPI Message ID.

Return value

  • true if successful
  • false otherwise

Example

See MAPI Sample