Skip to content

Net::IMAP::BadResponseError: Could not parse command when filtering by date #230

@faelsoto

Description

@faelsoto

Hi there,

It seems that there's an issue whenever before, after and to are used to filter emails. The response is Net::IMAP::BadResponseError: Could not parse command

Here's a sample code:

gmail = Gmail.new(email, password)
gmail.inbox.find(:unread) # this works
gmail.inbox.find(:unread, :before => Date.parse("2010-02-20")) # this doesn't

Maybe Gmail changed its parameters?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions