Read-only archive of the All About Symbian forum (2001–2013) · About this archive

receiving and sending SMS

3 replies · 3,268 views · Started 21 March 2003

Hi folks,

Is there any way in OPL I can check for new SMS, read SMS (contents, sender MSISDN), and send SMS. How would I do that?

I'd like to have my 9210 reply to a SMS containig a certain keyword with a predefinded message.

br,
der Faxenmacher!

Sending sms isn't a problem:
[code:1]
PROC GetMailKey%:
LOCAL i%,SaMaxTypes&,key%
i%=1
SaScanSendAsTypes:
SaMaxTypes&=SaMaximumTypes&:
WHILE i%<=SaMaxTypes&

REM here I search for KUidMtmSMSValue& but for mail you should replace it by one of these: KUidMtmEmailSyncValue&, KUidMtmSMTPValue&, KUidMtmPOP3Value& or KUidMtmIMAP4Value&

IF SaUid&:(i%)=KUidMtmSMSValue&
key%=i%
i%=SaMaxTypes&
ENDIF
i%=i%+1
ENDWH
RETURN key%
ENDP[/code:1]

Thanks, Dazler

I saw your code example in the other thread. That covers the sending part. Would you know how to receive SMS, too?

br,
der Faxenmacher!

never tried it.
But I'm guessing you'll need to read the message storage of your communicator which will be a lot of work because you need to figure out the format :s