Mapi.sendMail Method

Definition

Overloads

sendMail(MapiMessage)

Sends a message to the specified recipients.

sendMail(MapiMessage, Int32)

sendMail(MapiMessage)

Sends a message to the specified recipients.

public:
 virtual int sendMail(Dynamics::AX::Application::MapiMessage ^ message1);
public virtual int sendMail (Dynamics.AX.Application.MapiMessage message1);
abstract member sendMail : Dynamics.AX.Application.MapiMessage -> int
override this.sendMail : Dynamics.AX.Application.MapiMessage -> int
Public Overridable Function sendMail (message1 As MapiMessage) As Integer

Parameters

message1
MapiMessage

Returns

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

Applies to

sendMail(MapiMessage, Int32)

public:
 virtual int sendMail(Dynamics::AX::Application::MapiMessage ^ _message, int _flags);
public virtual int sendMail (Dynamics.AX.Application.MapiMessage _message, int _flags);
abstract member sendMail : Dynamics.AX.Application.MapiMessage * int -> int
override this.sendMail : Dynamics.AX.Application.MapiMessage * int -> int
Public Overridable Function sendMail (_message As MapiMessage, _flags As Integer) As Integer

Parameters

_message
MapiMessage

A list of flags; optional. The valid flags are as follows:

_flags
Int32

A list of flags; optional. The valid flags are as follows:

Returns

Applies to