XMPPHP to Openfire
问题 (This is my first ever question so please excuse the noobness) I have a Ubuntu VPS from DigitalOcean that I have Openfire installed and running. I'm trying to use XMPPHP to send alerts but it doesn't send the message. My Code: include("../XMPPHP/XMPP.php"); $conn = new XMPPHP_XMPP('***.***.***.***', 5222, 'alert', 'password', 'xmpphp', '***.***.***.***', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); $conn->useEncryption(false); $conn->connect(); $conn->processUntil('session_start');