Mapi.sendMail Method [AX 2012]

Sends a message to the specified recipients.

public int sendMail(MapiMessage message, [int flags])

Run On

Called

Parameters

message
Type: MapiMessage Class
The MapiMessage class object to send.
flags
Type: int
A list of flags; optional.
The valid flags are as follows:

Return Value

Type: int
The status #SUCCESS_SUCCESS or an error code from the #MAPI macro.

Community Additions

ADD
Show: