Dear sir,
I am getting problem when sending multiple sms. It's execute successfully but no any SMS received.
In source text box when we enter more than one number whit comma separated and click on submit button than a given method multiple send SMS is called but no any SMS send.
Please take a look and give me suitable example.
number send on smpp format like 9839265686,9554095540,9151880033
sending multiple sms issue
Re: sending multiple sms issue
You can use SubmitMulti PDU for this purpose.
or you can use several chained To methods
Code: Select all
List<DestinationAddress> destList = new List<DestinationAddress>();
DestinationAddress da1 = new DestinationAddress();
da1.Address = "11111111111";
da1.Npi = 0;
da1.Ton = 1;
destList.Add(da1);
DestinationAddress da2 = new DestinationAddress();
da2.Address = "22222222222";
da2.Npi = 0;
da2.Ton = 1;
destList.Add(da2);
Client.SubmitAsync(SMS.ForSubmitMulti()
.ServiceType("test")
.Text("Test Test Test Test Test Test Test Test Test Test")
.From("MyService")
.ToDestinations(destList)
.DeliveryReceipt()
);
Code: Select all
Client.SubmitAsync(SMS.ForSubmitMulti()
.ServiceType("test")
.Text("Test Test Test Test Test Test Test Test Test Test")
.From("MyService")
.To("11111111111")
.To("22222222222")
.DeliveryReceipt()
);
Re: sending multiple sms issue
Dear team
i am used this function but my multisubmit not working
i am used this function but my multisubmit not working
- Attachments
-
- SmppClientDemo.rar
- (5.64 KiB) Downloaded 2294 times
Re: sending multiple sms issue
Dear team
provide help for multiple message to multiple destination addresses
example
Dear manish send on 1111
Dear Ramesh send on 2222
Dear Alt send on 3333
etc
provide help for multiple message to multiple destination addresses
example
Dear manish send on 1111
Dear Ramesh send on 2222
Dear Alt send on 3333
etc
Re: sending multiple sms issue
Dear smssure,
When you need to send a text to one number you should use SubmitSm PDU and client.Submit method.
In wiki you can find some examples
When you need to send a text to one number you should use SubmitSm PDU and client.Submit method.
In wiki you can find some examples