Hi,
I am using the followijg code to send sms using twilio. I want to know how can I tell the php to just skip and do nothing if error message but continue to the. I tried return and exit but it's stopping the entire process.
try
{
$sms = $client->account->sms_messages->create
(
"+12028001115", // From this number
$member_mobile, // To this number
"Welcome to XoomPage. Your actication PIN is " . $activation_pin
);
}
catch (Services_Twilio_RestException $e)
{
// $error = $e->getMessage();
return;
}