I m using PHP Script to access pop account. Problem is this when i run my script it displays no error and display blank page. What will be the possible cause of this problem.
$mbox = imap_open ("{localhost:110/pop3}INBOX", "$user", "$password");
if ( $mbox == false ) {
echo "Unable to open your mailbox";
die();
}
else
{
$msg = imap_num_msg($mbox);
$unread = imap_num_recent($mbox);
echo "Mailbox open successfully";
}