DoAddReceiver - cMapiHandler
Stores the name, address and type in the child object called "oReceiversArray"
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| iRecipClass | Integer | This is MAPI_TO, MAPI_CC or MAPI_BCC. |
| sName | String | The name of the recipient (e.g., "John Smith") |
| sAddress | String | The address of the recipient (e.g., smtp:someone@somehost.com) |
| sEntryID | String | Internal representation of the receiver-id |
| iLength | Integer | Length of the sEntryId value |
Syntax
Procedure DoAddReceiver Integer iRecipClass String sName String sAddress String sEntryID Integer iLength
Call Example
Send DoAddReceiver iRecipClass sName sAddress sEntryID iLength
Description
DoAddReceiver stores the name, address and type in the child object called "oReceiversArray". The information is used when sending a MAPI message. Adds a recipient to the list of recipients with name, address and type of recipient specified.
Example
Send DoAddReceiver To oMapiSession iReceiverType sReceiverName sReceiverAddress sEntryID iLength