For sprint network you can use
and send a http post request with require parameter.
message format should be message = "//wma:" + port + " " + message;
Originally Posted by buster007
For GSM networks (i.e., AT&T, T-Mobile), we have set the SMS port in the UDH header, and this works fine for BlackBerries and feature phones.
Can you please tell me service you are using for AT&T, T-Mobile.