Page 1 of 1

sending multiple sms issue

Posted: Wed Apr 05, 2017 1:48 pm
by smssure
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

Re: sending multiple sms issue

Posted: Mon Apr 10, 2017 7:54 pm
by alt
You can use SubmitMulti PDU for this purpose.

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()
     );
or you can use several chained To methods

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

Posted: Sat Apr 15, 2017 1:42 pm
by smssure
Dear team

i am used this function but my multisubmit not working

Re: sending multiple sms issue

Posted: Mon Apr 24, 2017 2:39 am
by smssure
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

Re: sending multiple sms issue

Posted: Wed Apr 26, 2017 3:56 pm
by alt
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