Skip to main content

Posts

Showing posts with the label 2013

Using Sender Flags in EWS

Sender Flags are an Outlook Feature that allow you to set a follow up flag on Message when your sending it as well as being able to set a Recipient Followup flag if you want to. (eg) What happens in Exchange when you set a Sender Flag on a Message is documented in the Informational Flagging Protocol document  http://msdn.microsoft.com/en-us/library/cc433487(v=exchg.80).aspx  . If you want to do the same thing to a Message your sending in EWS there is nothing in the strongly typed classes to help out so you need to manually set two of the extended properties that are documented in that protocol document before you send the message and the Store will do the rest on submit. (More specifically what happens with the properties involved is documented here  http://msdn.microsoft.com/en-us/library/ee217246(v=exchg.80).aspx  ) The important properties that are involved with sender flags are the PidTagSwappedToDoData which is used to Store the information...

Clearing the RSS Feeds folder in Exchange using EWS and Powershell

RSS feeds in Outlook is a nice feature that was added in Outlook, but for some organizations it may not be a desirable feature. While you can't delete the RSS Feeds folder itself as its on of Outlooks default folders you can easily remove each of the feeds and items from these folders using EWS's Empty folder operation  http://msdn.microsoft.com/en-us/library/exchange/ff797574(v=exchg.80).aspx . A couple of months back I posted a Language independent way of getting the RSS feeds folder using the PidTagAdditionalRenEntryIdsEx property  http://gsexdev.blogspot.com.au/2013/01/using-pidtagadditionalrenentryidsex.html  . This script can be easily modified to Empty the RSSFeeds folder eg  the following script binds to the RSS Feeds folder and use the Empty Operation with the parameter to also delete all sub folders under the RSS Feeds Folder. - I've put a download of this script here . ## Get the Mailbox to Access from...
All sample scripts and source code is provided by for illustrative purposes only. All examples are untested in different environments and therefore, I cannot guarantee or imply reliability, serviceability, or function of these programs.

All code contained herein is provided to you "AS IS" without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.