Sign in
EMEA Developer Support for Messaging Team Blog
Messaging Developer code samples and documentation
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Search
Archive
Archives
April 2013
(1)
December 2012
(5)
November 2012
(3)
October 2012
(3)
September 2012
(5)
August 2012
(1)
July 2012
(2)
June 2012
(2)
May 2012
(4)
April 2012
(2)
February 2012
(7)
January 2012
(2)
December 2011
(6)
November 2011
(6)
September 2011
(3)
August 2011
(4)
July 2011
(1)
May 2011
(2)
April 2011
(4)
September 2010
(1)
August 2010
(3)
July 2010
(5)
July 2009
(1)
June 2009
(4)
March 2009
(1)
January 2009
(1)
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Tags
2007
2010
add-in
C#
C++
CDO Reflection SMTP Code
EWS
Exchange
Exchange 2010
Exchange web services
folder
kb support
MAPI
MAPI profile
Outlook
Outlook 2007
Outlook 2010
outlook addin
Powershell
profile
push notifications
remove
SOAP
transport agent
VBScript
MSDN Blogs
>
EMEA Developer Support for Messaging Team Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
EMEA Developer Support for Messaging Team Blog
EWS Streaming Notification Sample
Posted
1 month ago
by
Dave Barrett
1
Comments
To complete my unintentional series on EWS notifications, I have written a sample application showing how to deal with streaming subscriptions. The application includes full logging of both events and EWS calls, so is very useful for troubleshooting....
EMEA Developer Support for Messaging Team Blog
EWS Push Notification Sample
Posted
4 months ago
by
Dave Barrett
0
Comments
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 SOAPTestApp ) to...
EMEA Developer Support for Messaging Team Blog
Outlook: How to determine the owner of an item (including an item from a shared folder)
Posted
5 months ago
by
Dave Barrett
0
Comments
Outlook doesn't have any built in methods to find the owner of an item. The question was asked if it is possible to find this information when the user is looking at an item in a shared folder. For example, if a user has delegate permissions to a folder...
EMEA Developer Support for Messaging Team Blog
MAPI Application: Create an Inbox rule to set the Sensitivity of messages with a specific message class to Private
Posted
5 months ago
by
Andrei Ghita
0
Comments
We had a request for such an application from one of our customers so I though I would share the code with the community. The application creates a new Inbox rule in the default message store. The rule will be triggered for all the incoming messages...
EMEA Developer Support for Messaging Team Blog
MAPI Application: Enable or disable Cached Mode in the default Outlook profile or specific profiles
Posted
5 months ago
by
Andrei Ghita
0
Comments
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...
EMEA Developer Support for Messaging Team Blog
PowerShell: Set Calendar folder delegate permissions in Exchange 2007
Posted
5 months ago
by
Dave Barrett
1
Comments
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...
EMEA Developer Support for Messaging Team Blog
Transport Agent: Remove extra prefixes from email subject
Posted
5 months ago
by
Dave Barrett
0
Comments
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...
EMEA Developer Support for Messaging Team Blog
PowerShell: Clean mailbox delegates
Posted
5 months ago
by
Dave Barrett
1
Comments
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) does not delete references to that...
EMEA Developer Support for Messaging Team Blog
EWS from a Web Application using Windows Authentication and Impersonation
Posted
6 months ago
by
Dave Barrett
0
Comments
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...
EMEA Developer Support for Messaging Team Blog
Outlook Code: Importing bank holidays from an Outlook.hol based CSV file
Posted
6 months ago
by
Andrei Ghita
1
Comments
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...
EMEA Developer Support for Messaging Team Blog
Outlook Code: Change the name of the root folder in Outlook 2010 after an SMTP address change
Posted
6 months ago
by
Andrei Ghita
0
Comments
We have been getting a few requests for changing the name of the root folder in Outlook 2010 following an SMTP address change, to reflect the new SMTP address of the users. For that I have written an Outlook add-in that performs an Active Directory...
EMEA Developer Support for Messaging Team Blog
Outlook Code: BeforeItemMove event not being triggered for all the folders
Posted
6 months ago
by
Andrei Ghita
0
Comments
We have recently had a case where the BeforeItemMove event wasn’t being triggered when switching between two calendar folders in Outlook 2007 or 2010. To subscribe for the event we were using the Outlook.Explorer.CurrentFolder property to retrieve...
EMEA Developer Support for Messaging Team Blog
Drag and Drop from Outlook 2010 (Part 2 - Windows Forms Application)
Posted
8 months ago
by
Dave Barrett
0
Comments
As described in a previous blog , there is unfortunately a known issue with drag/drop and Outlook 2010. The previous blog describes the issue and also demonstrates a workaround that can be used when needing to implement drag/drop in an Outlook add-in...
EMEA Developer Support for Messaging Team Blog
Exchange Transport Agent: Working with Named Properties in Transport Agents
Posted
8 months ago
by
Andrei Ghita
0
Comments
An Exchange Transport Agent allows you to either add new name properties, change the value or remove existing properties. If you choose to log data in a log file or write events to the event log, you should be aware of the fact that the Exchange Transport...
EMEA Developer Support for Messaging Team Blog
MAPI Application: How to programmatically enable Cached Exchange Mode in existing Outlook profiles
Posted
8 months ago
by
Andrei Ghita
0
Comments
Note: You need to use the Outlook MAPI header files with this code. The exe uses two switches –A for processing all the profiles and –N followed by a profile name for processing a specific profile. 1: // MAPISetCachedMode.cpp : Defines the...
EMEA Developer Support for Messaging Team Blog
MAPI Application: How to programmatically remove Hotmail accounts from existing MAPI profiles
Posted
8 months ago
by
Andrei Ghita
0
Comments
Note: You need to use the Outlook MAPI header files with this code. 1: // MAPIDeleteHotmailAccount.cpp : Defines the entry point for the console application. 2: // 3: 4: #include "stdafx.h" 5: /...
EMEA Developer Support for Messaging Team Blog
MAPI Application: How to programmatically create a blank MAPI profile
Posted
8 months ago
by
Andrei Ghita
0
Comments
Note: You need to use the Outlook MAPI header files with this code. 1: // MAPICreateBlankProfile.cpp : Defines the entry point for the console application. 2: // 3: 4: #include "stdafx.h" 5: #include...
EMEA Developer Support for Messaging Team Blog
PowerShell: Remove invalid delegates from mailboxes
Posted
8 months ago
by
Dave Barrett
2
Comments
We recently had a case where there were invalid delegates on a mailbox and these were causing further issues (which aren't important with regards to this blog!). Invalid delegates can come about when mailboxes and users are deleted from an organisation...
EMEA Developer Support for Messaging Team Blog
Exchange Web Services and SharePoint without ApplicationImpersonation
Posted
9 months ago
by
Dave Barrett
1
Comments
A question that I have seen crop up quite a bit on the internet is how to use EWS with a SharePoint webpart. Using EWS is quite easy, as you can simply reference the managed API and use that - but the main implementation headache is how to set up authentication...
EMEA Developer Support for Messaging Team Blog
Office 365 Delegate Management
Posted
10 months ago
by
Dave Barrett
0
Comments
While a lot of Office 365 administration can be done from the web interface, there are still a fair number of things that require PowerShell. One of these things is delegate management (though this is something that can also be handled via Outlook, but...
EMEA Developer Support for Messaging Team Blog
Transport agents and VB.Net
Posted
11 months ago
by
Dave Barrett
0
Comments
There is a sample on MSDN that shows how to write and install custom transport agent (it can be found here: http://msdn.microsoft.com/en-us/library/aa579185%28v=exchg.140%29.aspx ). The agent itself is very simple, but it has been pointed out that if...
EMEA Developer Support for Messaging Team Blog
PowerShell: Script to set holiday status to busy (or OOF, free, etc.)
Posted
11 months ago
by
Dave Barrett
1
Comments
As you may or may not know, Outlook has a facility to import known public holidays. However, currently while these holidays will be imported into the Outlook calendar, the status of these holidays is set to Free. An often received request is for advice...
EMEA Developer Support for Messaging Team Blog
Windows PowerShell Self-Training Resources
Posted
11 months ago
by
Paresh Joshi
The list below is provided for those who wish to become familiar with Microsoft PowerShell 2.0. These resources are all available online and free of charge. Top Level Site for PowerShell: http://www.microsoft.com/powershell Windows PowerShell Training...
EMEA Developer Support for Messaging Team Blog
EWS Managed API: How to remove Email1, Email2, Email3 from a contact
Posted
over 1 year ago
by
Dave Barrett
0
Comments
An interesting case recently asked how to remove Email1, Email2, and/or Email3 from a contact using the EWS Managed API. If you try to set any of these properties to null, or an empty string, then you will receive an error when sending the request to...
EMEA Developer Support for Messaging Team Blog
How to change the default item type of a folder (VBScript and OOM, or EWS)
Posted
over 1 year ago
by
Dave Barrett
0
Comments
It is possible to change the default item type of Outlook folders, and this is commonly done when custom forms are being used. The question came up recently asking whether it is possible to do this programmatically, and it certainly is. The default...
Page 1 of 4 (79 items)
1
2
3
4