Error sending sms.

  • Thread starter Thread starter Per Rasmussen
  • Start date Start date
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.
 
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
 
Back
Top