Error sending sms.

P

Per Rasmussen

When I try to send an sms with OpenNETCF.Phone.Sms with the code:

Sms s = new Sms(SmsMode.Send);

SmsAddress sa = new SmsAddress("+4512345678");

sa.Type = SmsAddress.AddressType.International;

s.SendMessage(sa, "Test.");



I get an ExternalException("Error sending message") because SmsSendMessage
returns -2113928700.


I can send sms's the regular way without problems.



Can anybody help me, please?



Thanks in advance,

Per Rasmussen.
 
P

Peter Foot [MVP]

The error code returned is "SMS_E_NETWORK". This could be either that you
have no coverage or there is another issue with network connectivity, it can
also occur if the number is not correctly specified - you may want to try
alternative representations of the number...

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top