Skip to content

error when trying to get count of spam mails #296

@jitin-joseph

Description

@jitin-joseph

I'm getting issue while trying to get the count of spam mails.

The code line is

$junk_message_count = $oFolder->query()->whereIsXSpam()->count();

when trying to get it, the message comes like

InvalidWhereQueryCriteriaException in WhereQuery.php line 106:

Screenshot 2020-03-30 at 12 35 53 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions