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

fetch_overview does not allow select range with * #708

Open
michalcharvat opened this issue Mar 16, 2023 · 1 comment
Open

fetch_overview does not allow select range with * #708

michalcharvat opened this issue Mar 16, 2023 · 1 comment
Labels
needs investigation This will be tested / debugged or checked out.

Comments

@michalcharvat
Copy link

The used code:

$imapPath = '{' . $imap_host . ':' . $imap_port . '/imap/' . $imap_encryption . '}' . $mailbox;

$mailboxConnection = new Mailbox(
    $imapPath,
    $this->imap_username,
    $this->imap_password,
    null, // Directory, where attachments will be saved (optional)
    'UTF-8', // Server encoding (optional),
     true,
     true,
);

$mails = Imap::fetch_overview(
    $mailboxConnection->getImapStream(),
    '1:*',
    FT_UID
);
@michalcharvat michalcharvat added the needs investigation This will be tested / debugged or checked out. label Mar 16, 2023
michalcharvat added a commit to michalcharvat/php-imap that referenced this issue Mar 16, 2023
@swim89
Copy link

swim89 commented Apr 16, 2023

This solved my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation This will be tested / debugged or checked out.
Projects
None yet
Development

No branches or pull requests

2 participants