The problem comes from the getSortedList function of class.emailadmin_imapbase.inc which does not return the list of e-mails:
return of getSortedList of class.emailadmin_imapbase.inc when mail account works:
Array
(
[match] => Horde_Imap_Client_Ids Object
(
[duplicates] =>
[_ids:protected] => Array
(
[0] => 230
[1] => 402
[2] => 407
[3] => 411
[4] => 416
)
[_sequence:protected] =>
[_sorted:protected] =>
)
[count] => 5
)
return of getSortedList of class.emailadmin_imapbase.inc when mail account does not works:
Array
(
[match] => Horde_Imap_Client_Ids Object
(
[duplicates] =>
[_ids:protected] => Array
(
)
[_sequence:protected] =>
[_sorted:protected] =>
)
[count] =>
)
Then I tried to look in /vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php and /vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php but I found nothing of relevant.
A difficulty comes because after the first one iterration, the search function uses the mask. How may I deactivate it?