EWS: Push Notification Sample

I wrote a sample application quite a while ago showing how to write a push notification client using WCF.  This seemed a little complex to me, and I have now got another sample that uses the managed API and a custom listener (taken from SOAPe) to respond to the notifications.  The listener form has been…

1

MAPI Application: Enable or disable Cached Mode in the default Outlook profile or specific profiles

I wrote this MAPI application for a customer the other day. The application uses the Outlook 2010 MAPI headers and some of the header files shipped with MFCMAPI. They are all included in the attached archive. You can run the application to enable or disable cached mode by using the –E, respectively the –D switches….

0

PowerShell: Set Calendar folder delegate permissions in Exchange 2007

Exchange 2010 has cmdlets (Add-MailboxFolderPermission, Set-MailboxFolderPermission) that allow an administrator to update folder permissions on a user’s calendar.  Unfortunately, Exchange 2007 does not have these cmdlets.  We recently had a case that required updating many mailboxes (in this case resource mailboxes) to allow all users to be able to see the calendar (and details of bookings) in…

4

Transport Agent: Remove extra prefixes from email subject

If you regularly send email internationally, you may notice an issue that crops up in email conversations between two locales where the “Re.” prefix differs.  Basically, each time the message is replied to, another Re. (or Aw., Antwort, etc.) is tagged on to the beginning of the Subject.  This is more noticeable when an email…

0

PowerShell: Clean mailbox delegates

An updated version of this script (that also handles the hidden forwarding rule) is available here:http://blogs.msdn.com/b/emeamsgdev/archive/2014/05/16/powershell-clean-mailbox-delegates-update.aspx Granting delegate access to a mailbox stores the permission on the mailbox to which the permission is granted.  But what happens when a user is deleted?  The simple answer is nothing – deleting a user (or other AD object)…

1

EWS from a Web Application using Windows Authentication and Impersonation

To augment an earlier blog post that describes how to use EWS in a SharePoint webpart without needing ApplicationImpersonation, here I will go through the steps needed to do this from a standard web application.  The scenario is that a web application (hosted on a standalone application server) needs to access a user’s mailbox using…

0

Outlook Code: Importing bank holidays from an Outlook.hol based CSV file

We have been getting a few requests for code to automate the import of bank holidays in Outlook and prevent duplication. The easiest way to achieve this was to actually use the updated Outlook.hol file containing bank holiday definitions that Outlook uses when using the holiday import wizard. I have written both a VBS and…

4