Can I manually add SMS messages to the outbound queue?

Can I manually add SMS messages to the outbound queue? SearchSearch
Author Message
Moz
New member
Username: Moz

Post Number: 2
Registered: 10-2007
Posted on Thursday, March 12, 2009 - 11:21 am:   

Hi,

The "send SMS via command line" functionality of NowSMS seems to be taking up a large amount of my computer's CPU and takes a long time to load a large number of messages. This calls the HTTP api to send the messages and whilst loading messages into the queue in this way my CPU averages 80% constantly.

Is there an alternative way to load messages into the outbound queue that doesn't use the HTTP interface and queues messages quicker?

I saw in the Q directory under c:\NowSMS\ that each outbound message has it's own .req file which is a text file containing the information about the text message including who it is to be sent to and the content of the text. As I load messages these .req files are created with a unique reference name, then as nowSMS sends the message the .req file is deleted.

Can I manually create these .req files myself and then copy them into the Q folder?

Do I have to follow a given criteria for the file names?

Example files in sequential order are:
49B8D0A3.req
49B8D0A4.req
49B8D02B.req

If I create my own files in a text editor and save them into the Q directory would NowSMS know to send them? IF so how do I know what to name the files as?

Thanks,

Moz
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 578
Registered: 08-2008
Posted on Thursday, March 12, 2009 - 01:03 pm:   

Hi Moz,

We don't have any documentation on the format of these files. But they are pretty straight-forward, and much of the necessary information can be ascertained by looking at the files.

It is safe to create these files manually (I am aware of customers who do this).

Just make sure to use a file extension of ".REQ".

For simple text messages, this interface is very simple.

For long text messages, it is more complex. I'd have no concerns if you want to create these files manually for simple text messages.

Do note, however, that you can have severe performance problems if there are too many of these files in a single directory. NowSMS also supports subdirectories beneath the Q directory. If you are creating many files, you can create subdirectories for your ".req" files, and NowSMS will delete the subdirectories once the files have been processed.

--
Des
NowSMS Support