i am working wiht a lotus notes email server that supports POP3 but not imap!
i did this :
Code:
$mbox = imap_open("{localhost:110/pop3}INBOX","myUser","myPass")
or die("can't connect: ".imap_last_error());
$list = imap_getmailboxes($mbox,"{localhost:110/pop3}INBOX","*");
print_r($list);
if(is_array($list)) {
reset($list);
while (list($key, $val) = each($list))
{
print "($key) ";
print imap_utf7_decode($val->name).",";
print "'".$val->delimiter."',";
print $val->attributes."<br>\n";
}
} else
print "imap_getmailboxes failed: ".imap_last_error()."\n";
imap_close($mbox);
i succed on connecting and i see it in the server console
!
now i am trying to get the list of all mailboxes but all i get is this :
Array ( [0] => stdClass Object ( [name] => {localhost:110/pop3}INBOX [attributes] => 1 [delimiter] => ) ) (0) {localhost:110/pop3}INBOX,'',1
what can i do?
thanks in advance
PEleg