note 104195 added to intro.imap
| From: | (public@va...elvictus.com) | Date: | Tue, 31 May 2011 13:36:53 +0000 |
| Subject: | note 104195 added to intro.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180119@lists.php.net to get a copy of this message | ||
Thanks to Wil Barath for his time-saving functions below, but there is an intrinsic error that will
return your connection NULL via the pop3_stat function.
<?php
function pop3_stat($connection)
{
$check = imap_mailboxmsginfo($connection);
return ((array)$check);
}
?>
Is the proper function; for imap_mailboxmsginfo($imap), the $imap has not been defined!
----
Server IP: 69.147.83.197
Probable Submitter: 96.238.37.17
----
Manual Page -- http://www.php.net/manual/en/intro.imap.php
Edit -- https://master.php.net/note/edit/104195
Del: integrated -- https://master.php.net/note/delete/104195/integrated
Del: useless -- https://master.php.net/note/delete/104195/useless
Del: bad code -- https://master.php.net/note/delete/104195/bad+code
Del: spam -- https://master.php.net/note/delete/104195/spam
Del: non-english -- https://master.php.net/note/delete/104195/non-english
Del: in docs -- https://master.php.net/note/delete/104195/in+docs
Del: other reasons-- https://master.php.net/note/delete/104195
Reject -- https://master.php.net/note/reject/104195
Search -- https://master.php.net/manage/user-notes.php