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?