Mapi.sendMail Method
Sends a message to the specified recipients.
Syntax
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.