note 104272 added to intro.imap
| From: | public at vaelvictus dot com | Date: | Sun, 05 Jun 2011 01:01:43 +0000 |
| Subject: | note 104272 added to intro.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180265@lists.php.net to get a copy of this message | ||
Thanks to Wil Barath for his useful functions below, but there is a slight error regarding the
pop3_stat function.
<?php
function pop3_stat($connection)
{
$check = imap_mailboxmsginfo($imap);
return ((array)$check);
}
?>
$check = imap_mailboxmsginfo($connection); is the fix, otherwise the pop3 stream will show up null!
----
Server IP: 69.147.83.197
Probable Submitter: 70.188.145.97
----
Manual Page -- http://www.php.net/manual/en/intro.imap.php
Edit -- https://master.php.net/note/edit/104272
Del: integrated -- https://master.php.net/note/delete/104272/integrated
Del: useless -- https://master.php.net/note/delete/104272/useless
Del: bad code -- https://master.php.net/note/delete/104272/bad+code
Del: spam -- https://master.php.net/note/delete/104272/spam
Del: non-english -- https://master.php.net/note/delete/104272/non-english
Del: in docs -- https://master.php.net/note/delete/104272/in+docs
Del: other reasons-- https://master.php.net/note/delete/104272
Reject -- https://master.php.net/note/reject/104272
Search -- https://master.php.net/manage/user-notes.php