recipients = array('306991111111', '306941234567'); // send message $ID = $client->send('username', 'password', 'sender', $to, 'I am soap API!', 'UTF-8', true); // check delivery status for each recipient foreach( $to->recipients as $index => $recipient ) { echo $client->query('username', 'password', $ID, $recipient); } ?>