Multy Part message asynchronously with sequence Number
Posted: Wed Dec 09, 2015 9:36 am
i send message with below code
//code for send multiple message asynchronously
ISubmitSmBuilder builder = SMS.ForSubmit()
.Text(objSMS.Message)
.From(SourcePrefix + (int)objSMS.messageType, (byte)SourceTon, (byte)SourceNPI)
.To(DestinationPrefix + objSMS.MobileNo, (byte)DestinationTon, (byte)DestinationNPI)
.Coding((DataCodings)Enum.Parse(typeof(DataCodings), objSMS.messageType.ToString()))
//Change SubmitSm sequence to your own number.
//.Set(delegate(SubmitSm sm) { sm.Sequence = Convert.ToUInt32(objSMS.ID); })
;
but when we set Sequence with multy part sms it's not working properly
so how can we identify message in client_evSubmitComplete Event
//code for send multiple message asynchronously
ISubmitSmBuilder builder = SMS.ForSubmit()
.Text(objSMS.Message)
.From(SourcePrefix + (int)objSMS.messageType, (byte)SourceTon, (byte)SourceNPI)
.To(DestinationPrefix + objSMS.MobileNo, (byte)DestinationTon, (byte)DestinationNPI)
.Coding((DataCodings)Enum.Parse(typeof(DataCodings), objSMS.messageType.ToString()))
//Change SubmitSm sequence to your own number.
//.Set(delegate(SubmitSm sm) { sm.Sequence = Convert.ToUInt32(objSMS.ID); })
;
but when we set Sequence with multy part sms it's not working properly
so how can we identify message in client_evSubmitComplete Event