sending multiple sms issue

.NET library for SMPP protocol
Post Reply
smssure
Posts: 5
Joined: Wed Apr 05, 2017 1:46 pm

sending multiple sms issue

Post by smssure » Wed Apr 05, 2017 1:48 pm

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

alt
Site Admin
Posts: 728
Joined: Tue Apr 25, 2006 9:45 am

Re: sending multiple sms issue

Post by alt » Mon Apr 10, 2017 7:54 pm

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()
  );


smssure
Posts: 5
Joined: Wed Apr 05, 2017 1:46 pm

Re: sending multiple sms issue

Post by smssure » Sat Apr 15, 2017 1:42 pm

Dear team

i am used this function but my multisubmit not working
Attachments
SmppClientDemo.rar
(5.64 KiB) Downloaded 102 times

smssure
Posts: 5
Joined: Wed Apr 05, 2017 1:46 pm

Re: sending multiple sms issue

Post by smssure » Mon Apr 24, 2017 2:39 am

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

alt
Site Admin
Posts: 728
Joined: Tue Apr 25, 2006 9:45 am

Re: sending multiple sms issue

Post by alt » Wed Apr 26, 2017 3:56 pm

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

Post Reply