Import text file to genarate sms | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 19, 2005 ⬆ |
◄ ► |
Author | Message | |||
marios Unregistered guest |
I have a text file with about 300 entries (phone number, message). Can I have the SMS gateway read the file and send SMSs directly? Thanks Marios | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5042 Registered: 10-2002 |
Hi Marios, It would be relatively easy to write a Windows script file to do this. But the specifics of such a script would depend on the exact format of that text file. Here's a link to a Windows script example for sending SMS from the command line: http://support.nowsms.com/discus/messages/1/5318.html If you could modify your text file to the following format: cscript sms.js phonenumber text of message cscript sms.js phonenumber text of message cscript sms.js phonenumber text of message cscript sms.js phonenumber text of message cscript sms.js phonenumber text of message Then you could give the file a ".bat" extension, and execute it as a batch file, running the sms.js script for each line in the text file. Of course, you could also write a script like sms.js that parsed your existing file format. -bn |