2way script to send to multiple reciepients

2way script to send to multiple reciepients SearchSearch
Author Message
Anonymous
 
Posted on Monday, August 23, 2004 - 12:47 pm:   

How do you configure a redirect command in a 2way script to send a message to multiple reciepents?

ie header(http://gateway/?to=234234,2343234 (????)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3327
Registered: 10-2002
Posted on Monday, August 23, 2004 - 07:54 pm:   

Use the same URL syntax that you would use to submit a message to multiple recipients if you were not using a redirect.

http://gateway/?PhoneNumber=111,222,333&text=message+text

Do note that some environments might require the "," character to be URL escaped as %2C.


That would change the above example to:

http://gateway/?PhoneNumber=111%2C222%2C333&text=message+text