Click or drag to resize
ZenophSMSsetSenderId Method
Sets the sender ID of submitted message. This is what appears on the recipient's phone as the sender of the message.

Namespace: Zenoph.SMSLib
Assembly: Zenoph.SMSLib (in Zenoph.SMSLib.dll) Version: 2015.9.30.0 (2015.09.30.0)
Syntax
public void setSenderId(
	string sdrid
)

Parameters

sdrid
Type: SystemString
The ID received on a recipient's phone as the sender of the message.
Exceptions
ExceptionCondition
Exception Thrown if sdrid is null or empty. For alphanumeric sender ID, the Exception will be thrown if the number of characters is greater than 11. For phone numbers, the Exception will be thrown if the number of characters is greater than 18 characters.
Remarks

When set as phone number, the maximum length should be 18 characters, and when set as alphanumeric sender ID, the maximum length should be 11 characters. If a default sender ID is set for user account, it is automatically loaded and set during authentication.

See Also