HELP! Need code to SMS clients !
Hello
Greetings from Portugal !
I have an app in VB6 + Access DB to manage a veterinary clinic. Not commercial just for my own use.
After several years allways making some small/big alterations, finnally I decided to introduce the hability to send SMS to the clients. Just for marketing or just to remind something else.
So, I have 2 situations, but seems the same solution.
First one, send to a specific client a pre-defined text or not.
Second one, filter on the database some clients and send to all the same message.
I found 2 (commercial) solutions on the web. But I think the code for a simple sms app it's not so complicated (it's true....i didn't YET writed it)
I think I need to initialize the modem (in my case a nokia cell phone attached to a COM port)
Then send the respective AT commands with the number and the message.
And receive a report of success or not of that delivery.
Nothing more :)
Now, anyone here has some code that can share with me ?
Kind regards in advance.
Hugo
Re: HELP! Need code to SMS clients !
Does your "nokia cell phone attached to a COM port" allow you to use AT commands?
Did you, at least try to send SMS using this phone and Hyperterminal?
Re: HELP! Need code to SMS clients !
Quote:
Originally Posted by
VictorN
Does your "nokia cell phone attached to a COM port" allow you to use AT commands?
Did you, at least try to send SMS using this phone and Hyperterminal?
Hello, and thank you for your reply.
The answer is NO. because I don't know the AT commands to do that.
Can you sugest ?
Regards
Re: HELP! Need code to SMS clients !
Suppose, you'd like to send SMS to phone no. +1234343434. You first send to modem
Code:
At+CMGS=+1234343434
Then after you got the responseyou send the text adding CtrlZ at the end of message:
Code:
Some message to some phoneCtrlZ
Re: HELP! Need code to SMS clients !
Thank you. I will try it asap.
I was trying with a nokia N80, because I have the USB communication cable. But each experience I do, the port state goes crazy and I need to restart the laptop again.
Today I bought an USB-SERIAL adapter to coonect an NOKIA 6310, described as ideal to connect to a PC
Let's see, I will do your test and I will give you the feedback
Regards
Re: HELP! Need code to SMS clients !
Re: HELP! Need code to SMS clients !