I have a question about the Subscribe function in Twilio.
When a user let me have their number from a form on my website Twilio sends them a text/sms.
How can i make it so that Twilio sends several (4-5) messages with 1 day apart.
My guess is that we have to set some kind of loop that picks a new message and some sort of timer to send multiple txt/sms
Here is how the send array looks like in twiliosubscribe.php
$client->account->messages->create(array(
'To' => $_POST['phone'],
'From' => "+142xxxxx",
'Body' => "This is some message for " . $_POST['name'],
));
echo '<pre>';
//print_r($client);
echo '</pre>';
// Display a confirmation message on the screen
echo "Sent message to {$_POST['name']}";
Any ideas on how i can do this?
Thanx