I need to find all mails in IMAP mailbox which contains somestring
in BODY and is FROM [email protected]
or TO [email protected]
.
Trying to do:
49:51.53 > JBPM3 SEARCH CHARSET utf-8 "BODY \"somestring\" (OR (TO \"[email protected]\") (FROM \"[email protected]\"))"
Receiving:
49:51.71 < JBPM3 BAD Could not parse command
How to make it work using GMail?
"somestring" BODY "[email protected]" TO "[email protected]" FROM OR AND
) but simply polish (or prefix) notation. IMAP's design is based on LISP, from what I can gather. – Quad