SMS mobile messages
mark at maseurope.net
Thu Aug 25 12:57:44 CDT 2005
I use an sms service as well, with an html interface. My handler for it
function sendSmsMsg smsText,phoneNumber
ord" into smsAddr
put smsAddr into theMessage
if smsText is empty then return "No message"
if not isNumber(phoneNumber) then return "Invalid number" -- only
replace "msgText" with prepSms(smsText) in theMessage
replace "pNum" with phoneNumber in theMessage
get URL theMessage
if it is "AQSMS-OK" then -- the string returned by the service if it
put "OK" into theSent
put "! not" into theSent
return theSent && "sent" && the short system date && the time
function prepSMS smsText
put URLEncode(aMsg) into nMsg
return char 1 to 160 of nMsg
On 25 Aug 2005, at 15:20, Derek Bump wrote:
> rsarabia wrote:
>> Have any one of you experience, sending SMS mobile message from Rev?,
>> like Apple OS X Agenda can.
> Well, I don't know how Agenda does it because I don't have MacOS X.
> But I do know that most mobile services allow you to send SMS messages
> by sending an email to the phone. It also works the same if you want
> to send a photo to the phone.
> Example: 5551239876 at cingular.com
> Now this is all completely dependent on the service, which makes it
> especially difficult since number portability is now possible. What
> this means is that there is no way to determine from the number what
> cell phone provider they have.
> Derek Bump
> Dreamscape Software
> Compress Images Easily with JPEGCompress
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode