RecipientEntryId - cMapiHandler
Returns the N-th recipient ID
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| iRecipient | Integer | The N-th recipient entry id of the message |
Syntax
Function RecipientEntryId Integer iRecipient Returns String
Call Example
Get RecipientEntryId iRecipient to StringVariable
Description
The RecipientEntryId function returns the N-th recipient ID. The value of N must be passed via iRecipient. The value is needed for MapiDetails.
Example
Get piMessageRecipCount Of oMapiSession To iRecipCount
For iCounter From 1 To iRecipCount
Get RecipientEntryId Of oMapiSession iCounter To sEntryId
Return Value
The entry-id of the N-th recipient