Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Saves a message to the message store.
Syntax
public int saveMail(
MapiMessage message,
int flags,
str messageId)
Run On
Called
Parameters
- message
Type: MapiMessage Class
The MapiMessage class object to save. This object can be retrieved by using the readMail method.
- flags
Type: int
A list of flags.
The valid flags are as follows:
- messageId
Type: str
The unique ID of the message to retrieve.
Return Value
Type: int
The status #SUCCESS_SUCCESS or an error code from the #MAPI macro.