Hey fellow Soapers,

I am trying to walk through a mailbox and add
a custom field to every visited mail.

That works like a charm.

Now I want to be able to walk through
again but only look at mails I have not yet

So I am trying to create a filter based on that custom field like this (

// FilterEntry fe = new FilterEntry();
// fe.setOp(FilterOp.notExist);
// Custom custom = new Custom();
// custom.setField("MyFieldName");
// fe.setCustom(custom);
but that returns all items. ( Documentation is vague on exists )

I also tried a FilterOp.ne with my value. ( ne = not equal )
But that returns no items at all...

So any help would be appreciated.