EWS – Csharp – List unread inbox messages using a restriction

// C# sample using Exchange Web Service Proxy classes to list unread messages in an inbox using a restriction.

private void FindInFolder() {

// TODO: Put this code into a winform and call from a button: // TODO: create 3 text boxes called txtRequest, txtResponse, txtItems // TODO: Set the properties for the three text boxes to multiline=true, Scrolling=Both and Wrap=false. // TODO: Change the credentials below to match your server & mailbox

first of all thanks for your great Blog about WebDav… it’s really awesome!

But can you give an example how a second restriction would be implemented? In this example you’re only looking for unread messages, how should the implementation look like if you set a second restriction for a additional field like for example sender?

Here an example of what I mean: Looking for all unread Messages where sender is info@example.com

I’ve followed your usefull links but couldn’t find an answer how to combine multiple restrictions in one request…