 |
 |
How do I set a the MsgPin() property? How do I set a Pin?
The MsgPin() is the property to set the phone number of the device to which you are sending your message. It is EXTREMELY important that you format the Pin properly.
International Pin
If the Pin is to a mobile device on a network outside of the United States or Canada, Simplewire considers it an International Pin. International Pin's may be accepted in two formats.
International Format 1: With a "+" character before an international number.
+(country code)(national phone number)
Java Example sms.setMsgPin("+493206922000")
International Format 2: With a "00" to designate an international number.
00(country code)(national phone number)
Java Example sms.setMsgPin("00493206922000")
United States and Canadian Pin
If the Pin is to a mobile device on a network within the United States or Canada, then the country code should be entered as 1, and a plus sign should come before the 1, as follows:
United States and Canada Format: With a "+" character before the country code 1.
+1(national phone number)
Java Example sms.setMsgPin("+11005101234")
Back to Main Index
|
|
|
|