Outlook filter Problem

Hello ,
I’m applying a filter to get Mails Activity like this

But i have this error
[16:10:06.368][Output] ListeEmail failed at 1.2 in 00:00.070

Impossible d’analyser la condition. Erreur à « @SQL=urn:schemas:httpmail:subject LIKE '… ».

Any help please

Any Help Please

It’s solved ,

The problem is when we set UnreadOnly = True , the Filter dosen’t work…

Ah, yes. I had forgotten about that. I think it was @tvi who found that a while back. The problem is microsoft has 2 (or is it 3?) different “types” of queires you can use there, but you cannot mix them, so all clauses needs to be of the same type. And in my code, if you click “UnreadOnly” I use “[Unread]=true”

var unreadonly = UnreadOnly.Get(context);
if (unreadonly)
  if (string.IsNullOrEmpty(filter)) filter = "";
  if (string.IsNullOrEmpty(filter))
      filter = "[Unread]=true";
      filter += " and [Unread]=true";

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.