Skip to content

Loading…

Feature Request: Search #5

Closed
philipdesmedt opened this Issue · 8 comments

5 participants

@philipdesmedt

Hey,

Nice work on this IMAP library, best one I've seen so far for Node. Any chance that search will be implemented soon? Would be a very useful addition imho :-)

@andris9

Hi, I'm developing inbox as a depenedency for another closed project and thus I add features to inbox as I need them. Search is not a high priority currently so I suggest you to check out https://github.com/mscdex/node-imap/ which is also a good module.

@philipdesmedt

Ok, thanks. We tried that library, but yours is higher-level and clearer. We will see what to do. Thanks anyway!

@tadeuszwojcik

@philipdesmedt I've added very basic search capabilites to inbox in tadeuszwojcik@d9bb0d9, not ready for pull request yet as it's very rough, but works, example:

client.search('UID SEARCH X-GM-RAW "has:attachment"', function(err, uids){
            uids.forEach(function(id){

                        client.createMessageStream(id).pipe(...);
                        });
            });
@felixhammerl

@tadeuszwojcik has there been any progress on the search feature up to now?

@tadeuszwojcik

Yes, it's working , example above will work with my fork https://github.com/tadeuszwojcik/inbox.

@jgillich

@tadeuszwojcik Any plans to submit a PR? I would love to see this feature in inbox.

@tadeuszwojcik

@jgillich I'll look into it hopefully in this week, as currently code is not ready for pull request.

@andris9

SEARCH is available since v1.1.45, see the docs here

@andris9 andris9 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.