Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: How to Search The Particular Keyword From the Specified Email Address

$
0
0
Program.ImapClient = new ImapClient(_host, _port, _useSSL, _selectedProtocol);
            if (Program.ImapClient.Connection())
            {

                if (Program.ImapClient.LogIn(_login, _pass))
                {
                    e.Result = true;
                    Folder folder = Program.ImapClient.Folders["INBOX"];
                    MessageCollection messages = folder.Search("SEARCH FROM \"hiral2spy@gmail.com\" TEXT \"youtube\"", true);
                }
                else
                    _result = "Failed to login";
            }

here it is give the Error Bad Input Query...
i am very Nearer to My Goal...
Please help me..

i give here one Sample Input query
is this correct or not
what is the Problem ????

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>