SubmitMulti

Smpp v3.4 client

Moderator: alt

Locked
mrudula
Posts: 20
Joined: Thu Jul 08, 2010 9:20 am

SubmitMulti

Post by mrudula » Sat Sep 25, 2010 9:50 am

Hello everyone,

I am interested in getting an example of how to use submitmulti. Also, i want to know how does it gives the delivery status of bulk messages. Is there any limit for destination addresses in submit multi? How much time does it take in an average to send about 10,000 messages?

Please reply urgently if anyone knows this.
Thanks in advance!
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Tue Sep 28, 2010 7:05 am

SubmitMulti is the same as SubmitSm but here you send same message to several destinations up to 255.

Code: Select all

List<DestinationAddress> msisdnList = new List<DestinationAddress>(dt.Rows.Count); 
foreach (System.Data.DataRow dRow in dt.Rows) 
{ 
   DestinationAddress da = new DestinationAddress(); 
   da.Address = dRow[1].ToString(); 
   da.Npi=Convert.ToByte(1); 
   da.Ton = Convert.ToByte(1); 
   msisdnList.Add(da); 
}

List<SubmitMulti> sMulti = client.PrepareSubmit(SubmitMode.ShortMessage, Convert.ToByte(5), Convert.ToByte(0), srcAddr, msisdnList, DataCodings.UCS2, message); 
client.SubmitAsync(sMulti); 
How much time does it take in an average to send about 10,000 messages?
It depends on what do you mean in terms “send” and “message”. If it is one SMPP message (one SubmitSm or SubmitMulti packet) then it is up to 100 per second to send to SMSC.
Locked