hi,
i can access my pop3 server via imap_open and i can list messages and everything but then i see that when i list messages, it deletes them from the server but i don't use any deletion commands anywhere in my code.
to be sure, i used the script from the php manual which is:
$mbox = imap_open ("{my.server/pop3:110}INBOX", "username", "password");
echo "<p><h1>Mailboxes</h1>\n";
$folders = imap_listmailbox ($mbox, "{my.server/pop3:110}INBOX", "*");
if ($folders == false) {
echo "Call failed<br>\n";
} else {
while (list ($key, $val) = each ($folders)) {
echo $val."<br>\n";
}
}
echo "<p><h1>Headers in INBOX</h1>\n";
$headers = imap_headers ($mbox);
if ($headers == false) {
echo "Call failed<br>\n";
} else {
while (list ($key,$val) = each ($headers)) {
echo $val."<br>\n";
}
}
imap_close($mbox);
what could be the problem and what can i do to solve it?