Hi,
I need help on creation imap mailbox. Im new to php. This is a code where have been created by previous programmer.
if (($USER_REG_IS_LOGIN) && ($tmp_imap_server))
{
if (!$user_exist)
{
$form_password = $tmp_emailname . "_1234";
$request_cmd = "create_imap_user {$tmp_emailname} {$tmp_imap_server} $form_password";
$request_data = UserRegSvr::send_request($socket, $request_cmd);
$request_data = unserialize($request_data);
if ($request_data['return_value']['value'])
{
$err_msg_txt .= ($err_msg_txt ? "\\n" : "") . $request_data['return_value']['msg'];
}
}else
{
$err_msg_txt .= ($err_msg_txt ? "\\n" : "") . "Unable to create mailbox. User $tmp_emailname already exist in $tmp_imap_server server";
}
}
But this code doesnt seems working... Can any one help me with tht? Thanks.
Thanks in advance,
By,
@--Sheru--@