Share via


Mapi.sendMail Method

Sends a message to the specified recipients.

Syntax

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

Run On

Called

Parameters

  • 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.

See Also

Mapi Class

MapiMessage Class

Mapi.findNext Method

MapiMessage Class