Skip to content

Filter messages using wildcard #70

@alexroosenstein

Description

@alexroosenstein

Adding a wildcard to filters would enable searching for all emails sent to a specific domain (ie @gmail.com) and filtering on tag to find related emails (client_ for all emails sent on behalf of clients for example).

I tried to look into the code (even though I'm no Ruby expert), and I guess it's possible to check for wildcards in the hash_to_sql function in database.rb (near line 371) and use a LIKE operator , but I'm not sure of the security implications of this change, nor the performance impact it would have.

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