I need to find all mails in IMAP mailbox which contains somestring
in BODY and is FROM someone@me.com
or TO someone@me.com
.
Trying to do:
49:51.53 > JBPM3 SEARCH CHARSET utf-8 "BODY \"somestring\" (OR (TO \"someone@me.com\") (FROM \"someone@me.com\"))"
Receiving:
49:51.71 < JBPM3 BAD Could not parse command
How to make it work using GMail?