Hi. Iam having problems with IMAP trying to retrieve mail from an account.
When I build the IMAP application I let the mail be retrieved in the default UNIX spool (var/mail/user).
So, Iam surprised that when I try to retrieve mail from the user "xxx" it fails!
(it says no message and the file /var/spool/xxx has one message!). The command lines are the following:
$mbox=imap_open("{localhost:143}","xxx","xxxpass",OP_HALFOPEN)
or die("can'tconnect:".imap_last_error());
$check=imap_mailboxmsginfo($mbox);
So when I check the object properties it says no messages!!!. What's wrong??.
Thanks in advance
CELH