Send SMS
Moderator: Rathinagiri
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Send SMS
Hi Friends:
I need to improve a routine in which, if a product has been delivered, buyers recieve automatically ans SMS containing data (deliver number, date & time deliverd, and quantity).-
Actually my develope sends a mail , but end user want SMS.-
If someone could give any idea, will be aprecciated.-
With regards.
Eduardo
I need to improve a routine in which, if a product has been delivered, buyers recieve automatically ans SMS containing data (deliver number, date & time deliverd, and quantity).-
Actually my develope sends a mail , but end user want SMS.-
If someone could give any idea, will be aprecciated.-
With regards.
Eduardo
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Send SMS
Hola :
Roberto Lopez hizo este ejemplo .
Roberto Lopez hizo este ejemplo .
- Attachments
-
- sms.rar
- (4.69 KiB) Downloaded 440 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Send SMS
Hola Eduardo :
en Harbour hay una libreria llamada HBsms dentro de \Contrib..
utiliza el modem pendrive ya que dicho modem contiene el chip de telefonia celular.
en mi caso tengo uno tirado que me dejo un cliente : Huawei E170
puede ser que haya empresas que cobren este servicio y entonces lo manejaras mediante HTTPs:// con la libreria HBTIP
estoy mirando aca : http://www.developershome.com/sms/freeLibForSMS.asp
en Harbour hay una libreria llamada HBsms dentro de \Contrib..
utiliza el modem pendrive ya que dicho modem contiene el chip de telefonia celular.
en mi caso tengo uno tirado que me dejo un cliente : Huawei E170
puede ser que haya empresas que cobren este servicio y entonces lo manejaras mediante HTTPs:// con la libreria HBTIP
estoy mirando aca : http://www.developershome.com/sms/freeLibForSMS.asp
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Send SMS
Hola Dany:
Ya descargue el SMS de Roberto.-
Si mal no entendí, tengo que conectar el modem usb.-
En casa tengo un DLink wireless 150, no se si servirá, y si tengo a mano los drivers.-
Tendré que esperar para probarlo.- Espero que funcione, ya que eso me acercaría a la solución.-
VOy a analizar el PRG de Roberto.-
Gracias Dany como siempre un caballero.-
Te mando un abrazo y te tengo al tanto de que pasó.-
Eduardo
Ya descargue el SMS de Roberto.-
Si mal no entendí, tengo que conectar el modem usb.-
En casa tengo un DLink wireless 150, no se si servirá, y si tengo a mano los drivers.-
Tendré que esperar para probarlo.- Espero que funcione, ya que eso me acercaría a la solución.-
VOy a analizar el PRG de Roberto.-
Gracias Dany como siempre un caballero.-
Te mando un abrazo y te tengo al tanto de que pasó.-
Eduardo
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Send SMS
No eduardo .. un Modem SMS esos que parecenun pendrive y se le introduce el chip de la empresa movil.EduardoLuis wrote:Hola Dany:
Ya descargue el SMS de Roberto.-
Si mal no entendí, tengo que conectar el modem usb.-
En casa tengo un DLink wireless 150, no se si servirá, y si tengo a mano los drivers.-
Tendré que esperar para probarlo.- Espero que funcione, ya que eso me acercaría a la solución.-
VOy a analizar el PRG de Roberto.-
Gracias Dany como siempre un caballero.-
Te mando un abrazo y te tengo al tanto de que pasó.-
Eduardo
si tenes Movistar podes usar esto : https://enviamensajes.movistar.es/EnviaMensajes/
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Send SMS
Hola Dany:
Ahora entendí.-
De paso te copio algo que acabo de ver en la WEB.-
Aparentemente debería funcionar, el tema es saber cual el carrier de cada empresa aca, no ?
Sending a text message to a mobile phone from your computer is much easier and faster than doing it from the limited keypad and tiny screen of a mobile phone [source: Pogue].
In this article, we'll show you how to e-mail text messages directly to a mobile phone.
Open your e-mail program and start a new e-mail message.
Enter the cell phone number in the To: box using the format number@teleflip.com, where "number" is the phone number of the cell phone to which you're sending the message. For example, to send a text message to cell phone 123-456-7890, enter 1234567890@teleflip.com.
Type a message of up to 160 characters in the message box and then click Send. Your message will shortly appear on the cell phone. You may want to test it on your own cell phone to make sure it works [source: Pogue].
Note: Many cell phone carriers allocate e-mail addresses to their customers' phone numbers to enable them receive e-mail text messages. If you know the carrier of the cell phone you want to send text messages to, you can use it instead of the teleflip.com domain name. Here are the domain names of some of the more popular carriers:
Alltel: @message.alltel.com
Nextel: @messaging.nextel.com
Sprint: @messaging.sprintpcs.com
SunCom: @tms.suncom.com
T-mobile: @tmomail.net
VoiceStream: @voicestream.net
Verizon: @vtext.com (text only) or @vzwpix.com (photos and video) [source: Slipstick Systems].
Ahora entendí.-
De paso te copio algo que acabo de ver en la WEB.-
Aparentemente debería funcionar, el tema es saber cual el carrier de cada empresa aca, no ?
Sending a text message to a mobile phone from your computer is much easier and faster than doing it from the limited keypad and tiny screen of a mobile phone [source: Pogue].
In this article, we'll show you how to e-mail text messages directly to a mobile phone.
Open your e-mail program and start a new e-mail message.
Enter the cell phone number in the To: box using the format number@teleflip.com, where "number" is the phone number of the cell phone to which you're sending the message. For example, to send a text message to cell phone 123-456-7890, enter 1234567890@teleflip.com.
Type a message of up to 160 characters in the message box and then click Send. Your message will shortly appear on the cell phone. You may want to test it on your own cell phone to make sure it works [source: Pogue].
Note: Many cell phone carriers allocate e-mail addresses to their customers' phone numbers to enable them receive e-mail text messages. If you know the carrier of the cell phone you want to send text messages to, you can use it instead of the teleflip.com domain name. Here are the domain names of some of the more popular carriers:
Alltel: @message.alltel.com
Nextel: @messaging.nextel.com
Sprint: @messaging.sprintpcs.com
SunCom: @tms.suncom.com
T-mobile: @tmomail.net
VoiceStream: @voicestream.net
Verizon: @vtext.com (text only) or @vzwpix.com (photos and video) [source: Slipstick Systems].
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: Send SMS
Hola,
Se oye interesante el tema!!!
Saludos
Se oye interesante el tema!!!
Saludos
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Send SMS
Hi Daniel,
I tried to build from your-sources attached above, but find the following error:
--------------------------------------------------------------------------------------------------------
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x208): undefined reference to `HB_FUN_INIT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x218): undefined reference to `HB_FUN_ISWORKING'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x278): undefined reference to `HB_FUN_UNINT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x288): undefined reference to `HB_FUN_OUTCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x298): undefined reference to `HB_FUN_INBUFSIZE'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x2c8): undefined reference to `HB_FUN_INCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x78): undefined reference to `HB_FUN_INIT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xa8): undefined reference to `HB_FUN_ISWORKING'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xc8): undefined reference to `HB_FUN__INIT_MSG'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xd8): undefined reference to `HB_FUN__SEND_SMSMSG'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x108): undefined reference to `HB_FUN_UNINT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x118): undefined reference to `HB_FUN_OUTCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x128): undefined reference to `HB_FUN_INBUFSIZE'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x168): undefined reference to `HB_FUN_INCHR'
collect2: ld returned 1 exit status
hbmk2[sms]: Error: Running linker. 1
-------------------------------------------
Pls kindly help. Thanks.
Also thanks to EduardoLuis for sharing this topic.
I tried to build from your-sources attached above, but find the following error:
--------------------------------------------------------------------------------------------------------
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x208): undefined reference to `HB_FUN_INIT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x218): undefined reference to `HB_FUN_ISWORKING'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x278): undefined reference to `HB_FUN_UNINT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x288): undefined reference to `HB_FUN_OUTCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x298): undefined reference to `HB_FUN_INBUFSIZE'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/main.o:main.c:(.data+0x2c8): undefined reference to `HB_FUN_INCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x78): undefined reference to `HB_FUN_INIT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xa8): undefined reference to `HB_FUN_ISWORKING'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xc8): undefined reference to `HB_FUN__INIT_MSG'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0xd8): undefined reference to `HB_FUN__SEND_SMSMSG'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x108): undefined reference to `HB_FUN_UNINT_PORT'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x118): undefined reference to `HB_FUN_OUTCHR'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x128): undefined reference to `HB_FUN_INBUFSIZE'
C:/Users/toshiba/AppData/Local/Temp/hbmk_u2z9ms.dir/send.o:send.c:(.data+0x168): undefined reference to `HB_FUN_INCHR'
collect2: ld returned 1 exit status
hbmk2[sms]: Error: Running linker. 1
-------------------------------------------
Pls kindly help. Thanks.
Also thanks to EduardoLuis for sharing this topic.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
Re: Send SMS
Compile as under:Agil Abdullah wrote:Hi Daniel,
I tried to build from your-sources attached above, but find the following error:
Pls kindly help. Thanks.
Also thanks to EduardoLuis for sharing this topic.
c:\hmg\build sms sms.hbc
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Send SMS
I did : call c:\hmg.3.3.1\build.bat sms sms.hbc
but still error:
------------------------------
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;
hbmk2: Compiling...
hbmk2: Linking... sms.exe
.hbmk/win/mingw/send.o:send.c:(.data+0xc8): undefined reference to `HB_FUN__INIT_MSG'
.hbmk/win/mingw/send.o:send.c:(.data+0xd8): undefined reference to `HB_FUN__SEND_SMSMSG'
collect2: ld returned 1 exit status
--------------------------------
Any idea?
but still error:
------------------------------
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;
hbmk2: Compiling...
hbmk2: Linking... sms.exe
.hbmk/win/mingw/send.o:send.c:(.data+0xc8): undefined reference to `HB_FUN__INIT_MSG'
.hbmk/win/mingw/send.o:send.c:(.data+0xd8): undefined reference to `HB_FUN__SEND_SMSMSG'
collect2: ld returned 1 exit status
--------------------------------
Any idea?
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender