Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Exchange Web Service   (RSS)

Sample: How to get the number of file attachments with EWS.

Since HasAttachments does not really give you the number of file attachments, we you will find that you need to work around it. You can use code like that below to get the real count of file attachments on an item. // -----------------------------------------------------------------------------------------

EWS DaysOfWeek cannot be set to enumerated days.

If your trying to set the DaysOfWeek for a WeeklyRecurrencePatternType and find that you cannot set it with enumerated values using code such as the following, you will find that it does not work. WeeklyRecurrencePatternType weeklyPattern = new WeeklyRecurrencePatternType();

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,
 
Page view tracker