-
-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi, updated my package to latest version 1.17.2 and started my tests, what I am observing can be a bug or design choice but it is below in detail.
I am using the laravel package mainly but also tested this without it too.
When I fetch withBody(), withHeaders(), withFlags(), I can see the attachements (if any) and mail bodies BUT I loose all metadata fields (like date, from, to, uid, subject etc.)
// use DirectoryTree\ImapEngine\Mailbox;
use DirectoryTree\ImapEngine\Laravel\Facades\Imap;
$messages = $inbox->messages()->withFlags()->withBody()->withHeaders()->since($date)->get();When I do a basic fetch, I can get the metadata but not attachements and bodies.
// use DirectoryTree\ImapEngine\Mailbox;
use DirectoryTree\ImapEngine\Laravel\Facades\Imap;
$messages = $inbox->messages()->since($date)->get();I am trying to follow available docs but can not find a cause for this, also checking the code via GitHub to get a better view of the relationships and methods...
Do you need any logs for this to debug, if so I can provide IMAP debug logs or laravel error logs without sensitive information.
Thanks for your time and support :)