how can i get emails by conditions?

71 views
Skip to first unread message

李俊毅

unread,
May 25, 2015, 3:06:29 AM5/25/15
to mail...@googlegroups.com
when i use Mail.find({:what => :all, :count => 99, :subject => "手机".force_encoding("utf-8"), :mailbox => 'delete'}) to get email,the result is the list of all emails.how can i use some conditions to search emails?
Reply all
Reply to author
Forward
0 new messages