-
Notifications
You must be signed in to change notification settings - Fork 37
Description
The SMPP Service we use allows not setting the Source Address on the message and they use the default attached to the account.
I have confirmed this works using another SMPP Client Demo program
When I try to do the same, I get an Invalid Source Address error
Exception of type 'JamaaTech.Smpp.Net.Lib.SmppException' was thrown.
Error Code is : ESME_RINVSRCADR
If I replace the source address with the Mobile number, it works perfectly.
Below is the code to create the message.
TextMessage msg = new TextMessage();
msg.DestinationAddress = mobileNumber;
msg.SourceAddress = "";
//msg.SourceAddress = "Entering Number Here works fine";
msg.Text = call.LongMessage;
msg.RegisterDeliveryNotification = false;
is there a reason why the exception is being thrown when no source?
Thanks,
Daniel.