Subject: how can i search contents of Email??
Date: 2017-03-07 04:45:49
From: Junhong Park
Source: can-search-contents-email
----------------------------------------------------------------------

how can i search contents of Email?

 

my code 

 

                Imap client = new Imap();
                client.Connect(_ServerName, _port, _securityMode);
                client.Authenticate(_seletedUserName, _seletedPassword);
                client.Select("INBOX");
// I want to sarch "test" Keyword on Mail server
                ImapCriterion criteria = ImapCriterion.Keyword("test");
                ImapMessageCollection listMessages = client.ListMessages(ImapEnvelopeParts.UniqueId | ImapEnvelopeParts.Size, criteria);
 
 
 
 
It does not work well.
 

 

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index