note 16979 deleted from function.imap-delete by jimw

From: Date: Fri, 14 Dec 2001 19:16:33 +0000
Subject: note 16979 deleted from function.imap-delete by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22629@lists.php.net to get a copy of this message
I think there's a simple way of delete like 10 messages in 1. <?php $link=imap_open("{imap.server.com}","user","pass"); for($i=0;$i < count($deletemsgs); $i++){ imap_delete($link,$deletemsgs[$i]); } ?> And a message's output is: <INPUT TYPE='checkbox' NAME='deletemsgs[]' VALUE="number of the message">

« previous php.notes (#22629) next »