Automatically send txt files as SMS

Automatically send txt files as SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 24, 2009 » Automatically send txt files as SMS « Previous || Next »
Author Message
DHMHTRHS MANTELLOS
New member
Username: Dimitris

Post Number: 1
Registered: 06-2009
Posted on Monday, June 22, 2009 - 06:28 am:   

Hi

I am new user to nowsms and i will appreciate any help from your team.
My case is that i want everyday and in particular time,to send automatically a *.txt file as sms to several mobile numbers from my PC
I have used yours tecnhical Bulletin 'Sending SMS from the Command Line' and the sms.js, but it needs everytime to type the text.
Can you give me please some guidance?Sorry if that message look stupid but i am a newbie.

Many thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7806
Registered: 10-2002
Posted on Tuesday, June 23, 2009 - 12:52 pm:   

I'm not a Windows scripting expert, but I noticed that we had an example script for sending OTA settings from a file at http://blog.nowsms.com/2007/07/send-oma-client-provisioning-ota-xml.html

So I took the logic from that script which reads text in from a file, and merged it with the other script from http://www.nowsms.com/support/bulletins/tb-nowsms-008.htm

The result is a command line script that works like this:

cscript smsfile.js PhoneNumber1[,PhoneNumber2,...] Filename

text/plainsmsfile.js.txt
smsfile.js.txt (2.2 k)


(Save as smsfile.js)

Maybe this will help.

-bn
DHMHTRHS MANTELLOS
New member
Username: Dimitris

Post Number: 2
Registered: 06-2009
Posted on Wednesday, June 24, 2009 - 08:02 am:   

Thank you very much it works just fine.

Login Login / Register Logout Logout Search Last 30 Days Topics Topics