
james nahon - 2013-02-21 17:54:25 -
In reply to message 10 from Manuel Lemos
hi manuel,
thanks for having a look! I am pleased to say that enabling debug mode and reading it through has fixed the problem!
The issue was here:
$pop3->DeleteMessage('$i');
that meant the POP3 command was:
C DELE $i
i have changed the PHP to:
$pop3->DeleteMessage($i);
so that the POP3 command is:
C DELE 1
and it now works and is deleting messages from the mailbox!
thanks so much for the help and the great class!!!