Open haiderpro opened 1 year ago
More details:
$result = imap2_sort($imap, SORTDATE, 1, SE_NOPREFETCH, 'SUBJECT logo'); // this should work but not working due to search option not supported even if connected via normal IMAP option of PHP-IMAP2
$result = imap2_sort($imap, SORTDATE, 1); // this (without search option) works in normal IMAP option of PHP-IMAP2
$result = imap2_sort($imap, SORTDATE, 1); // Even without search option this is not working correctly in OAUTH2 / access token mode of PHP-IMAP2 but it works if normal IMAP username password is used
Can these errors please be fixed little quickly? If you guys are busy, can you please point me where this SORT code is located so that I can try to fix it. Thanks!
imap2_sort is not able to use the search code in sort command (like 'SINCE "02 NOV 2022"') which is a normal imap_sort option used by many people. Please fix ASAP. Thank you!
imap_sort( IMAP\Connection $imap, int $criteria, bool $reverse, int $flags = 0, ?string $search_criteria = null, <-- THIS ONE IS MISSING IN IMAP2_SORT FUNCTION ?string $charset = null ): array|false