How do i Split lenthy msg into multiple SMS?

Jun 26, 2007 at 4:16 AM
I am trying to get the data from database, I have message (4000 chars length) . How can I split the large message into smaller one and send it one by one.
Jun 26, 2007 at 4:39 AM
FYI, the SMS server is capable of splitting a long SMS (upto 800 char long) into small sms in such a way that they are joined automatically on the receiving end. Its a protocol which many Mobile operator & many Mobile manufacturer support. So Just go ahead and try sending a longer sms say 300 bytes long and see if your mobile operator supports it!!

In case it doesn’t, then u just have to split it somthing like

MySms.Body = “a long long long long string of more then 160 char”;
SmsClass MySms1 = new SmsClass();
MySms1.Body = MySms.Body.Substring(0,160);
MySms.Body = MySms.Body.Substring(160);

if(MySms.Body !="")

Hope this helps.

Vibhore Goyal
Jun 26, 2007 at 1:18 PM
Thanks Vibhore..your explanation is very useful.