POP3 :: boolean pdele ( resource connection, integer message ) Returns TRUE if the message has been successfully deleted, FALSE if not. Example:
$open = POP3::Connect('mail.host.net', 'username', 'password'); // delete the first message $dele = POP3::pDele($open, 1); echo $dele ? 'Deleted' : 'Error';