Jeff Salter
Posts: 0
Joined: Sun Jul 05, 2015 2:30 pm

send sms to multiple recipients

I have an issue with sending sms to multiple recipients. I'm using twilio plugin. I've created the ability to send using template messages, but I can't find the code example to create a loop to send that message to multiple selected recipients. I need to send the same message to multiple recipients.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

send sms to multiple recipients

Hello Jeff,

Unfortunately plugins are outside the scope of our support, so you should this code online, for example here:
http://stackoverflow.com/questions/18...
http://stackoverflow.com/questions/18...
https://www.twilio.com/docs/api/rest/...

Jeff Salter
Posts: 0
Joined: Sun Jul 05, 2015 2:30 pm

send sms to multiple recipients

Sorry maybe I put the question wrong. I have my page built where I can input a message, then a select list where I can check the numbers I want to send. What I don't know is how to pull the values for each checked item (recipient number) in my list and then run the send message command with the message value and repeat for each checked number?

Jeff Salter
Posts: 0
Joined: Sun Jul 05, 2015 2:30 pm

send sms to multiple recipients

I have a check list that has names with phone numbers to be selected.
I want to store three values from each line value when user clicks submit. Each line has firstName, lastName and phoneNumber.
I have created a model (ContactDetails) that has the firstname, lastname and number strings
I have created and Array Called ContactSendList
I have created a local storage value called recipients (type:ContactSendList)

Here is what I wrote and places as a Run JavaScript when user click submit button but can't seem to see if it is working:

var contactsmobilecheckboxgroup = Apperyio("contactsmobilecheckboxgroup").find(":checked");
var arr = [];
contactsmobilecheckboxgroup.each(function(){
arr.push($(arr).val());
});
localStorage.setItem("recipients", arr);

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

send sms to multiple recipients

Hello Jeff,

This should be useful http://stackoverflow.com/questions/18...

Return to “Issues”