RecipientType Property

This property contains the type of a particular recipient.

Syntax

ANSI (Cross Platform)
int GetRecipientType(int iRecipientIndex);
int SetRecipientType(int iRecipientIndex, int iRecipientType); Unicode (Windows) INT GetRecipientType(INT iRecipientIndex);
INT SetRecipientType(INT iRecipientIndex, INT iRecipientType);

Possible Values

SMPP_RECIPIENT_TYPE_NORMAL(0), 
SMPP_RECIPIENT_TYPE_LIST(1)
- (int)recipientType:(int)recipientIndex;
- (void)setRecipientType:(int)recipientIndex:(int)newRecipientType;

Possible Values

SMPP_RECIPIENT_TYPE_NORMAL(0), 
SMPP_RECIPIENT_TYPE_LIST(1)
#define PID_SMPP_RECIPIENTTYPE 17

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMPP_CheckIndex(void *lpObj, int propid, int arridx);

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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]