Mapi.saveMail(MapiMessage, Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves a message to the message store.
public:
virtual int saveMail(Dynamics::AX::Application::MapiMessage ^ _message, int _flags, System::String ^ _messageId);
public virtual int saveMail (Dynamics.AX.Application.MapiMessage _message, int _flags, string _messageId);
abstract member saveMail : Dynamics.AX.Application.MapiMessage * int * string -> int
override this.saveMail : Dynamics.AX.Application.MapiMessage * int * string -> int
Public Overridable Function saveMail (_message As MapiMessage, _flags As Integer, _messageId As String) As Integer
Parameters
- _message
- MapiMessage
The unique ID of the message to retrieve.
- _flags
- Int32
The unique ID of the message to retrieve.
- _messageId
- String
The unique ID of the message to retrieve.
Returns
The status #SUCCESS_SUCCESS or an error code from the #MAPI macro.