View Issue Details

IDProjectCategoryView StatusLast Update
0004215Composrcorepublic2023-01-19 22:50
ReporterChris GrahamAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0004215: Reimplement any IMAP support as a native implementation (on hold)
DescriptionWe have a native SMTP implementation, we could have a native IMAP implementation easily too. Perhaps our own code, perhaps an existing library.

This would mean we would not rely on the IMAP extension being installed, and the PHP developers are close to dropping that anyway:
 - https://bugs.php.net/bug.php?id=78572 (EDIT: It is staying FOR NOW, but there's interest in moving to a Composer drop-in replacement, which we could then easily integrate)
 - https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts#extimap (EDIT: It was voted to stay)
TagsNo tags attached.
Time estimation (hours)12
Sponsorship open

Activities

Chris Graham

2023-01-16 18:40

administrator   ~0007874

Last edited: 2023-01-19 22:50

View 2 revisions

Part of this is also that PHP does not support XOAUTH2 which is increasingly important (https://bugs.php.net/bug.php?id=64039).

PREFERRED:

Direct plugin for PHP's imap extension:
https://github.com/javanile/php-imap2
... with XOAUTH2 support added
... based on code taken from RoundCube

ALSO...

Userlang implementation with its own API:
https://github.com/horde/Imap_Client/tree/master/lib/Horde/Imap/Client
... includes XOAUTH2 support

Userlang implementation with its own API:
https://github.com/Webklex/php-imap
... includes XOAUTH2 support

Userlang implementation with its own API:
https://pear.php.net/package/Net_IMAP
... but not maintained

Issue History

Date Modified Username Field Change
2020-04-28 20:50 Chris Graham New Issue
2022-08-15 01:12 Chris Graham Description Updated View Revisions
2022-08-15 01:13 Chris Graham Summary Reimplement any IMAP support as a native implementation => Reimplement any IMAP support as a native implementation (on hold)
2023-01-16 18:40 Chris Graham Note Added: 0007874
2023-01-19 22:50 Chris Graham Note Edited: 0007874 View Revisions