Hi Harri,
Harri Porten wrote:
> Hi!
>
> We are using the POP3 protocol with Eventum 1.6.1 to
fetch messages from
> the server. Works fine except that fetched messages
remain on the server
> causing the message box to grow and the fetching to get
slower and slower.
>
> The "Leave Copy of Messages On Server"
option is *not* checked.
Is the script ending cleanly? Or are there errors being
generated? You
might want to open up include/class.support.php, and go to
about line
707. It should look like this:
if ($res > 0) {
// need to delete the message from the
server?
if (!$info['ema_leave_copy']) {
imap_delete($mbox, $num);
} else {
// mark the message as already read
imap_setflag_full($mbox, $num,
"\\Seen");
}
}
I would add some debug information here to see if
imap_delete is being
called. I would also try adding imap_expunge($mbox);
directly after the
call to imap_delete.
Please note, even though you are using POP3, the imap_*
functions still
work.
Best Regards,
--
Bryan Alsdorf, Eventum Software Development Manager
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe: http:
//lists.mysql.com/eventum-users?unsub=bond yahoo.com
|