Error in Unicode Long Message
Posted: Wed Jun 11, 2014 8:21 am
I was testing the client application version 1.1.15.3. When i send long English message(msg count 2) with the following code,message delivers fine..but when i send Unicode long message (msg count 2) the following conditions occurred.
1..it takes it as 5 or more different messages and gets throttled error
2..Once it got Delivered as Unicode
3..most of the times does not deliver at all
Awaiting your earliest response.
1..it takes it as 5 or more different messages and gets throttled error
2..Once it got Delivered as Unicode
3..most of the times does not deliver at all
Code: Select all
Code for English:
IList<SubmitSmResp> resp = client.Submit(
Inetlab.SMPP.SMS.ForSubmit()
.Text(message)
.From(srcaddr, s_addr_ton, s_addr_npi)
.To(destination, d_addr_ton, d_addr_npi)
.DeliveryReceipt()
.Coding(DataCodings.Default)
.ExpireIn(TimeSpan.FromDays(2))
);
Code for Unicode:
IList<SubmitSmResp> resp = client.Submit(
Inetlab.SMPP.SMS.ForSubmit()
.Text(message.ToString())
.From(srcaddr, s_addr_ton, s_addr_npi)
.To(destination, d_addr_ton, d_addr_npi)
.DeliveryReceipt()
.Coding(DataCodings.UCS2)
.ExpireIn(TimeSpan.FromDays(2))
);