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

Bug in Message::fetchOverview() #40

Open
matteodante opened this issue Dec 16, 2022 · 1 comment
Open

Bug in Message::fetchOverview() #40

matteodante opened this issue Dec 16, 2022 · 1 comment

Comments

@matteodante
Copy link

This method needs to use $isUid from the $client like the others methods in this class for fetching the right results.
I think the function should be like this:

    $isUid = boolval($flags & FT_UID);

    $messages = $client->fetch($imap->getMailboxName(), $sequence, $isUid, [
        'BODY[HEADER.FIELDS (SUBJECT FROM TO CC REPLYTO MESSAGEID DATE SIZE REFERENCES)]',
        'UID',
        'FLAGS',
        'INTERNALDATE',
        'RFC822.SIZE',
        'ENVELOPE',
        'RFC822.HEADER'
    ]);

instead of just "false" in the third parameter.

@IZSkiSurfer
Copy link

As well as

  • saveBody
  • bodyStruct
  • delete
  • undelete

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

2 participants