note 85649 rejected from book.imap by thiago
| From: | thiago@php.net | Date: | Wed, 10 Sep 2008 20:00:39 +0000 |
| Subject: | note 85649 rejected from book.imap by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144300@lists.php.net to get a copy of this message | ||
Note Submitter: alec
----
The reason the above pop3 functions are not documented anywhere is that you are supposed to use the
imap_* functions to deal with pop3 servers as well.
From the documentation for function imap_open():
-----
This function can also be used to open streams to POP3 and NNTP servers, but some functions and
features are only available on IMAP servers.
-----
Not sure if this applies only to apt package users, but the pop3_* functions aren't included at
all.
This is not clear from PHPs documentation unless you read the imap docs yourself, so its
understandable if people miss it.
The PHP team really should take all the PHP functions, sit down and map them all out, and then
rename them using one single naming convention. They could keep the old names as aliases for bc.
It really would help, but until & unless that happens, I will be more and mor drawn towards
Python and its beautiful conventionally named classes and functions.