You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying this on an office 365 mailbox it failed. The same for a qq.com or wp.pl mailboxes
try {
$folders = $imap_client->getFolders();
}
catch (\Webklex\PHPIMAP\Exceptions\FolderFetchingException $e)
{
echo "Warning: could not get the list of folders : " . $e->getMessage() . "\n";
}
=> failed to fetch any folders
While the debug displays the folders :
TAG5 LIST "" "*"
<< * LIST (\HasNoChildren) "/" Archive
<< * LIST (\Marked \HasNoChildren) "/" INBOX
<< * LIST (\HasNoChildren) "/" "Bo&AO4-te d'envoi"
<< * LIST (\HasNoChildren \Drafts) "/" Brouillons
<< * LIST (\HasChildren) "/" Calendrier
<< * LIST (\HasNoChildren) "/" Calendrier/Anniversaires
<< * LIST (\HasNoChildren) "/" "Calendrier/Jours f&AOk-ri&AOk-s - France"
<< * LIST (\HasChildren) "/" Contacts
<< * LIST (\HasNoChildren \Junk) "/" "Courrier ind&AOk-sirable"
<< * LIST (\HasNoChildren \Sent) "/" "&AMk-l&AOk-ments envoy&AOk-s"
<< * LIST (\HasNoChildren \Trash) "/" "&AMk-l&AOk-ments supprim&AOk-s"
<< * LIST (\HasChildren) "/" "Historique des conversations"
<< * LIST (\HasNoChildren) "/" Journal
<< * LIST (\HasNoChildren) "/" Notes
<< * LIST (\HasChildren) "/" "Probl&AOg-mes de synchronisation"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/Conflits"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/D&AOk-faillances du serveur"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/D&AOk-faillances locales"
<< * LIST (\HasNoChildren) "/" T&AOI-ches
<< TAG5 OK LIST completed.
The text was updated successfully, but these errors were encountered:
Hi,
When trying this on an office 365 mailbox it failed. The same for a qq.com or wp.pl mailboxes
try {
$folders = $imap_client->getFolders();
}
catch (\Webklex\PHPIMAP\Exceptions\FolderFetchingException $e)
{
echo "Warning: could not get the list of folders : " . $e->getMessage() . "\n";
}
=> failed to fetch any folders
While the debug displays the folders :
<< * LIST (\HasNoChildren) "/" Archive
<< * LIST (\Marked \HasNoChildren) "/" INBOX
<< * LIST (\HasNoChildren) "/" "Bo&AO4-te d'envoi"
<< * LIST (\HasNoChildren \Drafts) "/" Brouillons
<< * LIST (\HasChildren) "/" Calendrier
<< * LIST (\HasNoChildren) "/" Calendrier/Anniversaires
<< * LIST (\HasNoChildren) "/" "Calendrier/Jours f&AOk-ri&AOk-s - France"
<< * LIST (\HasChildren) "/" Contacts
<< * LIST (\HasNoChildren \Junk) "/" "Courrier ind&AOk-sirable"
<< * LIST (\HasNoChildren \Sent) "/" "&AMk-l&AOk-ments envoy&AOk-s"
<< * LIST (\HasNoChildren \Trash) "/" "&AMk-l&AOk-ments supprim&AOk-s"
<< * LIST (\HasChildren) "/" "Historique des conversations"
<< * LIST (\HasNoChildren) "/" Journal
<< * LIST (\HasNoChildren) "/" Notes
<< * LIST (\HasChildren) "/" "Probl&AOg-mes de synchronisation"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/Conflits"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/D&AOk-faillances du serveur"
<< * LIST (\HasNoChildren) "/" "Probl&AOg-mes de synchronisation/D&AOk-faillances locales"
<< * LIST (\HasNoChildren) "/" T&AOI-ches
<< TAG5 OK LIST completed.
The text was updated successfully, but these errors were encountered: