exchange web services - search for subject NOT EQUAL TO "" (empty string)

Posted by nathan kelly on Stack Overflow See other posts from Stack Overflow or by nathan kelly
Published on 2010-05-11T14:11:17Z Indexed on 2010/05/11 14:14 UTC
Read the original article Hit count: 280

Filed under:
|
|
|

Trying to find emails from an inbox using exchange webservices (against exchange 2007). the subject of which should not be empty.

Tried the following:

searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Subject, string.Empty));

and

searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Subject, null));

but no luck. What do I need to do to get those messages that have a subject?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ews