As the title says, i want to send the same message to multiple recipients. I use the PHP library XMPPHP and send single messages with this:
<?php
include("xmpp.php");
$conn = new XMPP('talk.google.com', 5222, 'username', 'password', 'xmpphp', 'gmail.com', $printlog=False, $loglevel=LOGGING_INFO);
$conn->connect();
$conn->processUntil('session_start');
$conn->message('[email protected]', 'This is a test message!');
$conn->disconnect();
?>
I try it with a loop of this:
$conn->message('[email protected]', 'This is a test message!');
Or a loop with the complete code. But nothing happens...
Best regards,
Hannes