发送邮件时遇到问题:
include 'XMPPHP/XMPP.php';
$conn = new XMPPHP_XMPP('myserver', 5222, 'mylogin', 'mypass', 'xmpphp', 'office', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);
try
{
$conn->connect();
$conn->processUntil('session_start');
$conn->presence();
$conn->message('mylogin', 'message text');
$conn->disconnect();
}
catch(XMPPHP_Exception $e)
{
die($e->getMessage());
}
此脚本停止工作(没有任何错误)
$conn->processUntil('session_start');
有什么问题?