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.

Re: Error sending sms. by Peter

Peter
Wed Apr 27 13:21:34 CDT 2005

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

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org

"Per Rasmussen" <p@p.dk> wrote in message
news:%231LUSM1SFHA.900@TK2MSFTNGP10.phx.gbl...
> 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.
>
>
>