LCHCAPITALHUMAIN / exjello

Automatically exported from code.google.com/p/exjello
MIT License
0 stars 0 forks source link

Search functionality in Exjello #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Exjello Developers,

I m filtering e-mail folder (inbox): 
Message[] messages = folder.search(mailFilter);

where: mailFilter is defined as following: 
public class MailFilter extends SearchTerm {
private Date date;
public MailFilter(Date date) {this.date = date; }
@Override
public boolean match(Message msg) {
try {
if (msg.getSentDate().compareTo(date) > 0) {return true;}
} catch (MessagingException e) {e.printStackTrace();}
    return false;
}
}

I am not able to do filter, system returns all records/e-mails. 
Is the filter feature implemented  in Exjello ?

Thank you for your answer. 

Nick 

Original issue reported on code.google.com by gochiash...@fina2.net on 4 Mar 2011 at 4:58

GoogleCodeExporter commented 9 years ago
Problem was solved. 

Original comment by bankadmin on 9 Mar 2011 at 12:28