Single message sent successfully . For multi message below exception is occured.
Unable to cast object of type 'Inetlab.SMPP.PDU.GenericNack' to type 'Inetlab.SMPP.PDU.SubmitMultiResp'. at await _client.SubmitAsync
       List<IAddress> destList = new List<IAddress>();
       destList.Add(new SmeAddress("1234567890", AddressTON.Unknown, AddressNPI.ISDN));
       destList.Add(new SmeAddress("1234567890", AddressTON.Unknown, AddressNPI.ISDN));
      IList<SubmitMultiResp> resp = await _client.SubmitAsync(SMS.ForSubmitMulti()
                    .ServiceType("")
                    .Text("Multi Message")
                    .From(sourceAddress)
                    .ToDestinations(destList)
                );
			
			
									
									
						SubmitMultiMessage exception occured
Re: SubmitMultiMessage exception occured
Most likely this means that your provider doesn't support SubmitMulti PDU. Please ask the provider.
Anyway I need to check the cast issue in the library.
			
			
									
									
						Anyway I need to check the cast issue in the library.
Re: SubmitMultiMessage exception occured
The cast issue is fixed. Please test with version 2.9.0-beta-2222.
			
			
									
									
						Re: SubmitMultiMessage exception occured
Installed Version 2.9.0-beta-2222
But occured another Exception at same line
Invalid or unknown command response received. GenericNack, Status: ESME_ROK, Sequence
IList<SubmitMultiResp> resp = await _client.SubmitAsync(SMS.ForSubmitMulti()
.ServiceType("")
.Text("Multi Message")
.From(sourceAddress)
.ToDestinations(destList)
);
			
			
									
									
						But occured another Exception at same line
Invalid or unknown command response received. GenericNack, Status: ESME_ROK, Sequence
IList<SubmitMultiResp> resp = await _client.SubmitAsync(SMS.ForSubmitMulti()
.ServiceType("")
.Text("Multi Message")
.From(sourceAddress)
.ToDestinations(destList)
);
Re: SubmitMultiMessage exception occured
When remote side sends GENERIC_NACK response it means the command/request you send is invalid or unknown. This is exceptional case.
As I said above you need to ask your SMPP provider about SubmitMulti support.
			
			
									
									
						As I said above you need to ask your SMPP provider about SubmitMulti support.
