hi! everyone can it possible to send sms via internet in hbmk2 utility

106 views
Skip to first unread message

shyamli...@gmail.com

unread,
Sep 15, 2021, 2:09:12 AM9/15/21
to Harbour Users
hi!
I need sms_send() program via internet 
is this possible.
pl. if any have code or solution 
send it please.

thanks
shyam.

Bernard Mouille

unread,
Sep 15, 2021, 6:53:05 AM9/15/21
to Harbour Users
It is not Harbour code but ddBasePlus code.
You can translate in HB.
Slype sms is not free.
Regards,
Bernard.


/* Skype sms send.
   Running with dBasePlus version 9.51.
*/

local oSkype, oSms, MobileNumber, TextToSend
MobileNumber = "+33000000000"    // Phone number
TextToSend   = "Test"            // SMS text
oSkype = new OleAutoClient( "Skype4COM.Skype" )
if not oSkype.Client.IsRunning
   oSkype.Client.Start()
   msgbox( "Wait for Skype is openned." )
endif
oSkype.Attach()
oSms = oSkype.SendSms(MobileNumber, TextToSend)
msgbox( "Wait for SMS is sended before quit." )
oSkype := null
oSms   := null
return

Tremaine Parsons

unread,
Sep 21, 2021, 7:43:44 PM9/21/21
to Harbour Users
I know you can send to a sms txt using email but the different providers have different domains
##########@vtext.com
##########@tmomail.net
.
.
Reply all
Reply to author
Forward
0 new messages