parubabr
Results
2
comments of
parubabr
Hi! I am very new to xmpp world and have a similar issue. In my case, "host-unknown" error was caused when using complete jid as username. Try changing: From: $options->setUsername('user@address')->setPassword('password');...
@youmad , thank you for your reply! Ok, but strange thing it never send the message. Here is the entire code: $options = new Options('tcp://testserver.com:5222'); $options->setUsername('admin')->setPassword('pass123'); $client = new Client($options);...