Search found 332 matches: sms

Return to advanced search

Envío de información por mail o sms o wathsapp

Hola: estoy generando un listado de expensas de un consorcio y me gustaria enviar cada hoja al consorcista correspondiente. tengo en la base el celular y el mail. Alguna sugerencia como para arrancar a ver el desarrollo de una funcion que me lo permita? Gracias
by José Camilo
Sat Feb 05, 2022 4:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Envío de información por mail o sms o wathsapp
Replies: 11
Views: 1368

Using source on other .prgs

... a service call Twilio. Anytime someone texts my Twilio phone number, this code receives and processes POST data from Twilio that contain all the SMS text information. Notice how on this code I'm using functions like Connect2DD() and LogData() and ExecuteSQL(). These are my own functions. In order ...
by reinaldocrespo
Fri Jul 16, 2021 1:01 pm
 
Forum: mod_harbour
Topic: Using source on other .prgs
Replies: 3
Views: 496

Re: SMS To Customer - Upon Order Delivery

Thank You Ramesh Sb., for your prompt reply.. I have checked using your function on my local Windows 7 64 Bit Laptop..The SMS is sent and received with this msginfo() ( Failed Calling - 'MSXML2.ServerXmlHttp' ) I have also checked on the clients server ...The SMS does not send providing ...
by RiazKhan
Thu Apr 08, 2021 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Riaz Khan Sb, Please use the following function to test any failure calls of "TOleAuto():New(" ******************************************************************************** FUNCTION wfReadUrl(cUrl) Core Function to Post the cUrl to Internet   ************************************...
by RAMESHBABU
Thu Apr 08, 2021 4:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Ramesh Sb.,

After updating a test version on my client's MS Server, the Send SMS did not work and the application hung up GPF.

I updated on a Microsoft Windows Server 2008 R2 Enterprise
Version: 6.1.7601 Service Pack 1 Build 7601

Am I missing anything..??
by RiazKhan
Wed Apr 07, 2021 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery (RESOLVED)

Thank you all,

Yes, It's working now using Ramesh Sb., source.
Passed three parameters to the function and SMS Sent transparent to the app.

Every time an invoice is generated the function is sent the three parameters and is delivered via SMS to the customer.

Thanks
by RiazKhan
Wed Apr 07, 2021 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

My Example: cUrl := "https://sendpk.com/api/sms.php?api_key=923289536375-280edb13-b5f6-43e6-8b3c-45420519ce9c&sender=BrandName&mobile=Recipient&message=TextSMS" Once the parameters are passed to the function, the SMS does not ...
by RAMESHBABU
Wed Apr 07, 2021 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Dear Antonio,

Okay, I have removed the two calls from the SendSMS function.
by RiazKhan
Wed Apr 07, 2021 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Thanx Ramesh Sb., I have tried your method and works fine. No errors. My cURL contains three variables that I pass to the SMS Send function after each invoice is generated. Those are BrandName, Recipient, and TextSMS. The API code provided by the service provider.. cUrl := "https://sendpk.com/api/sms.php?api_key=923289536375-280edb13-b5f6-43e6-8b3c-45420519ce9c&sender=BrandName&mobile=92365483575&message=TestSMS" ...
by RiazKhan
Wed Apr 07, 2021 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Riaz,

Please remove these calls from the function SendSMS():
curl_global_init() and curl_global_cleanup()

curl_global_init() should be called just once at the beginning of the app and curl_global_cleanup() just once upon exit of the app
by Antonio Linares
Wed Apr 07, 2021 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Hi Riaz Bhai, I am using the following code since years to send all my SMS from my applications. #include "fivewin.ch"FUNCTION Send_SMS(cURL)cPageContent := wfReadUrl(cUrl)RETURN cPageContent******************************************************************************** ...
by RAMESHBABU
Wed Apr 07, 2021 3:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

I have inserted these three lines before curl_global_cleanup(), which now gives no GPF. The SMS is sent transparently and the application is functioning properly. curl_easy_cleanup( hCurl ) hCurl := Nil hb_gcAll( .t. ) curl_global_cleanup() I need to pass three parameters ...
by RiazKhan
Tue Apr 06, 2021 9:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

... and added t my mak file had to add libcurl.dll to my system folder. no errors during compilation.... used the function below as test. Yes the SMS does get sent without opening the browser and after sending the application crashes and hangs... I have hcurl error so made that a local variable ...
by RiazKhan
Tue Apr 06, 2021 7:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

Please review this example and use it instead of ShellExecute() https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/callphp.prg #include "c:\harbour\contrib\hbcurl\hbcurl.ch"function sendSMS( cUrl )   local uValue   curl_global_init(&...
by Antonio Linares
Tue Apr 06, 2021 5:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622

Re: SMS To Customer - Upon Order Delivery

... Return( Nil ) FUNCTION W_122SMS(SMS_Text,SMS_Cell,SMS_Brnd) LOCAL cURL // Suggested API from service provider // https://sendpk.com/api/sms.php?api_key=923265536573-280edb13-b5f6-43e6-8b3c-45420519ce9c&sender=BrandName&mobile=9235464536573&message=TestSMS cURL := "https://sendpk.com/api/sms.php?api_key=923343636573-280edb13-b5f6-43e6-8b3c-45420519ce9c" ...
by RiazKhan
Tue Apr 06, 2021 5:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: SMS To Customer - Upon Order Delivery
Replies: 14
Views: 1622
PreviousNext

Return to advanced search