Edit report at https://bugs.php.net/bug.php?id=78572&edit=1
ID: 78572
Comment by: ghghghghghgh at netflix dot com
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:
> FYI Imap-2007 will no longer compile on RedHat 8
i doubt that RHEL has anything newer than Fedora 31 where it works depsipte of httpd crahes when you
relod apache instead of a hard restart
it's not nice *but* there is *no* replacement in case someone drives serious IT and autotests
to compare behavior if IMAP *and* POP3 for the same messages
Previous Comments:
------------------------------------------------------------------------
[2019-11-05 20:42:59] toddr at cpanel dot net
FYI Imap-2007 will no longer compile on RedHat 8.
------------------------------------------------------------------------
[2019-09-20 09:29:31] cmb@php.net
I fully agree with Nikita.
The current show-stopper appears to be mail related tests on
Windows, which currently use ext/imap.
------------------------------------------------------------------------
[2019-09-20 07:50:13] nikic@php.net
Providing a composer package that exposes the ext/imap API on top of some existing IMAP
implementation is the way forward here, IMHO.
A native implementation of the IMAP protocol is a strong no-go from me. There is no benefit to
implementing this in C, and lots of disadvantages, especially where it comes to security.
------------------------------------------------------------------------
[2019-09-20 07:45:39] kalle@php.net
Note, I'm not super familiar with c-client anymore.
What would the technical cost and depth be to implement it in C, as our own library? Would it be
sufficient to do so or would it be an overkill? The reason I'm asking is primarily that imap is
a popular extension and it has been for a very long time, I personally would be sad to see it go,
but if the grounds is that there is no otherwise stable backend to base it on, then I can agree on
those merits that it should go.
------------------------------------------------------------------------
[2019-09-20 04:57:30] bishop@php.net
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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78572
--
Edit this bug report at https://bugs.php.net/bug.php?id=78572&edit=1