Author |
Post |
|
#1 Wed Mar 20, 2013 18:28, 145 months ago.
|
Member
Registered: Feb 2013
Location: Belarus
|
Hi Keke. I can not understand the logic of the program. My file The examples do not help. Script
|
|
#2 Wed Mar 20, 2013 19:22, 145 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
That script works but ignores any additional headers. Actually, only To: headers are allowed, other headers will break the logic. If you want to implement "multiple recipients" feature to your smsd setup, see this topic: Multiple recipients in single SMS file.
|
|
#3 Thu Mar 21, 2013 05:49, 145 months ago.
|
Member
Registered: Feb 2013
Location: Belarus
Topic owner
|
Variable "headers" is fundamental in sending SMS to multiple recipients? What is it should take? Sorry, I'm only two weeks teaching bash scripts. I do not understand everything in the examples.
|
|
#4 Thu Mar 21, 2013 20:20, 145 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Of course all headers other than To: are meant to use for every message. For example, if the message has Flash: yes, all recipients should get a flash message. About scripting in general, this is very good: Advanced Bash-Scripting Guide
|
|
#5 Fri Mar 22, 2013 01:18, 145 months ago.
|
Member
Registered: Feb 2013
Location: Belarus
Topic owner
|
You do not understand ... 
|
|
#6 Fri Mar 22, 2013 04:09, 145 months ago.
|
Member
Registered: Feb 2013
Location: Belarus
Topic owner
|
I could not realize the multi sending. Now it worked. Thanks Keke. Good luck. 
|