Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getFolders KO #515

Open
Pascal76 opened this issue Sep 12, 2024 · 0 comments
Open

getFolders KO #515

Pascal76 opened this issue Sep 12, 2024 · 0 comments

Comments

@Pascal76
Copy link

Pascal76 commented Sep 12, 2024

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 :

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant