FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SMS Gateway
Posts: 85
Joined: Mon Apr 18, 2011 02:32 AM
SMS Gateway
Posted: Wed Sep 04, 2013 02:56 PM

SMS Gateway.

To Mr. Rao:

example if i want to know some information via SMS, eg ballance, etc...
in FWH how about it..?

can you give me a sample program to send and receive SMS messages (including WAP, ringtones, picture messages) via a GSM phone or GSM modem...?
or
in this case whether sombody can help me..?
please send email to me at: Mulyadi@ksk.co.id

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: SMS Gateway
Posted: Wed Sep 04, 2013 09:08 PM

Have you tried searching this forum for "SMS"?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: SMS Gateway
Posted: Thu Sep 05, 2013 05:07 AM
Most of the Bulk SMS providers will give you their web API for a nominal fee. You can use their API to send & receive SMS. This uses internet to send SMS

For Eg.
Code (fw): Select all Collapse
cSendSMSURL   :="http://www.smscompany.com/SMSCwebservice.asp?User=" +cUSer +"&passwd=" +cPass+ "&mobilenumber="+cMobileNo+"&message="+cSmsMessage+"&sid=YourSenderID&mtype=N&DR=Y"   

oHTTP = CREATEOBJECT('WinHttp.WinHttpRequest.5.1')
WITH OBJECT oHttp

  :Open("GET", cSendSMSURL)  // To Send SMS 
  :Send()
  ? :Status, :StatusText
  ? :GetAllResponseHeaders()
  MemoWrit("response.txt",:ResponseText )

END


Hope it is clear to you.

Regards
Anser
Posts: 85
Joined: Mon Apr 18, 2011 02:32 AM
Re: SMS Gateway
Posted: Thu Sep 05, 2013 06:20 AM
Thanks mr Anser...
I will try it..

Regards
Mulyadi

Continue the discussion