This method is obsolete. See the Remarks section below. |
Description
The SendMAPIMail
method sends an e-mail message to the specified address via Microsoft’s Messaging Application Programming Interface (MAPI).
Declaration
BuiltIn.SendMAPIMail(ToName, ToAddress, Subject, Body)
ToName | [in] | Required | String | |
ToAddress | [in] | Required | String | |
Subject | [in] | Required | String | |
Body | [in] | Required | String | |
Result | Boolean |
Applies To
The method is applied to the following object:
Parameters
The method has the following parameters:
ToName
The "user-friendly" name of the e-mail recipient.
ToAddress
The e-mail address to which the message will be sent.
Subject
The message subject.
Body
The message body.
Result Value
True if the message was sent successfully, and False otherwise.
Remarks
This method is obsolete and is not listed in the Code Completion window. It is supported for backward compatibility only. To send e-mail messages from tests, use the BuiltIn.SendMail
method.