RecipientType Property
This property contains the type of a particular recipient.
Object Oriented Interface
public function getRecipientType($recipientindex); public function setRecipientType($recipientindex, $value);
Procedural Interface
ipworks_smpp_get($res, 17 , $recipientindex); ipworks_smpp_set($res, 17, $value , $recipientindex);
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