Open wrabit opened 4 years ago
Something else fishy. I am now testing with the folder put inside Inbox (still resulting in issue above) but "$this->connection->getMailbox('INBOX/Tests')->getMessages()" returns mail from all folders, not my INBOX/Tests.
I have resolved it but not sure this behaviour is intended.
I was instantiating 2 different instances. Although connection details were identical, the latter was not confining the results to the mailbox specified.
I was instantiating 2 different instances.
This isn't tested indeed, and also not supported by imap ext I think
I am performing a search in a top level directory /Tests. This is verified before I perform the search:
{xxx-xxx.ms-acdc.office.com:993/imap/notls/ssl/user="xxx@xxx.com"}Tests
But mail results are being returned from outside this directory, i.e. /INBOX. I have read up and it seems that imap should be returning results from the currently selected mailbox / folder.
Just checking if I am missing something before I investigate further? TIA