Skip to content

imap_search UNKEYWORD description is wrong #1344

Open
@Kembreg14

Description

@Kembreg14

Description

The following code:

$SearchQuery ='TO "bob@yahoo.com" UNKEYWORD "rosebud" SUBJECT "Citizen Kane"';
$Result=imap_search($Connection,$SearchQuery);
<?php

Resulted in this output:

A mail id for a mail which has the string "rosebud" in the body.

But I expected this output instead:

No mail ID should be returned in $Result which has the string "rosebud" (anywhere) in the message.

PHP Version

PHP 7.4

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Extension: imapbugDocumentation contains incorrect information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions