RecipientType Property
This property contains the type of a particular recipient.
Syntax
int GetRecipientType(int iRecipientIndex);
int SetRecipientType(int iRecipientIndex, int iRecipientType);
Possible Values
SMPP_RECIPIENT_TYPE_NORMAL(0),
SMPP_RECIPIENT_TYPE_LIST(1)
Default Value
0
Remarks
This property contains the type of a particular recipient. This property is used only for multiple recipient messages. The RecipientAddress contains the corresponding recipient's address.
For a recipient type of normal, the value in RecipientAddress should be either the dotted IPv4 of an SMS-enabled device or the directory number of a target mobile phone. For distributed lists, the value should be the name of the list as it is stored on the SMPPServer.
Valid values for RecipientType are:
0 (smppRecipientTypeNormal) | Normal SME (Short Message Entity) Address |
1 (smppRecipientTypeList) | Distribution List |
The RecipientIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecipientCount property.
This property is not available at design time.
Data Type
Integer