Normally, you should create some tables to be readed by your script(shell or other programming languages). Placing your reserved cell phone numbers to the tables and saving the SMS contents to a specific file.
Continuely send the same SMS to the cell number list until all of them are successfully sent.
For example:
/content ;using for saving SMS contents
/table ;using for listing reserved cell numbers
Yes, this is only a simple sample.As I said before, I think you should increase some conditions to restrict the special characters by regular expression.
Becasue we dont know what kinds of messages you would send. Thus, you have better create your own script in terms of your particular requirements.
This is not working with even single line messages containing spaces. it only sends the first word of messages and ignores anything after the first space character.