RecipientName - cMapiHandler
Returns the N-th recipient name
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| iRecipient | Integer | The N-th recipient of the message |
Syntax
Function RecipientName Integer iRecipient Returns String
Call Example
Get RecipientName iRecipient to StringVariable
Description
The RecipientName function returns the N-th recipient name. The value of N must be passed via iRecipient.
Example
Get piMessageRecipCount Of oMapiSession To iRecipCount
For iCounter From 1 To iRecipCount
Get RecipientName Of oMapiSession iCounter To sRecipientName
Return Value
The name of the N-th recipient