Edit report at https://bugs.php.net/bug.php?id=78572&edit=1
ID: 78572
Updated by: bishop@php.net
Reported by: bishop@php.net
Summary: Discontinue use of c-client library
Status: Open
Type: Feature/Change Request
Package: IMAP related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Thanks for mentioning POP3 support, bugreports@gmail.com. No matter what happens, we'd not
abandon POP3 support.
If we sunset the PHP IMAP extension, then we'd recommend consumers update their applications to
use a robust, IMAP and POP3 capable library. For example, Horde/Imap_Client[1] supports POP3[2], is
fast, well-tested, and extensible.
If we choose to reboot the extension, when we'd have to make it support IMAP and POP3.
[1]:https://dev.horde.org/imap_client/
[2]:https://github.com/horde/Imap_Client/blob/master/doc/Horde/Imap/Client/examples/tutorial.md
Previous Comments:
------------------------------------------------------------------------
[2019-09-20 03:12:15] bugreports at gmail dot com
problem is that there is no userland implementation i know of which supports POP3 the same way which
is interesting when you have a testing mailserver with all sort of previously problem messages
burried in a autotest to make sure they are reconstructed identically with IMAP/POP3 and at least
here we heave a large amount of POP3 users
------------------------------------------------------------------------
[2019-09-20 03:11:21] bishop@php.net
See also https://externals.io/message/103464
------------------------------------------------------------------------
[2019-09-20 03:07:58] bishop@php.net
Description:
------------
The IMAP extension does not perform as well as pure user-land implementations of the IMAP protocol.
This is due, in largest part, to the c-client library on which this extension's based: c-client
is many years unmaintained and there are numerous bugs related to it.
Scope of this ticket is to formulate a remediation plan, where we can either replace c-client with a
similar, maintained library or implement the IMAP protocol ourselves natively. This is essentially a
reboot of the IMAP extension and would require, I believe, extensive work to accomplish.
An alternative is to sunset the extension, encouraging consumers to switch to a pure PHP extension.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78572&edit=1