After a while, I have a new question: is there a change to get the folder names only?
ImapEngine has this here:
$folders = $mailbox->folders()->get();
But using this is resulting in a complex object through the DirectoryTree\ImapEngine\Collections\FolderCollection
What I would need is a result only giving me the folder names.
Why I need such?
Because have to check if a specific folder is already existing - if not, I'm not allowed to create a new (because of restrictions on the called mailserver).
So, the final result should be only the existing folder names.
thx in advance.
After a while, I have a new question: is there a change to get the folder names only?
ImapEngine has this here:
$folders = $mailbox->folders()->get();But using this is resulting in a complex object through the DirectoryTree\ImapEngine\Collections\FolderCollection
What I would need is a result only giving me the folder names.
Why I need such?
Because have to check if a specific folder is already existing - if not, I'm not allowed to create a new (because of restrictions on the called mailserver).
So, the final result should be only the existing folder names.
thx in advance.