Browse by Tags

  • Blog Post: That’s My Name, Don’t Wear It Out

    Part 1 It used to be in earlier versions of Exchange, you were able to change the names of the “special” folders, like Inbox, Calendar, Tasks, etc. This is because MAPI keeps track of the Entry ID for these special folders in properties stored on the root folder. As long as the folder never got deleted...
  • Blog Post: Parsing ServerVersion: When an Int Is Really 5 Ints

    I recently had a case where a customer was asking how to figure out the mailbox version of a given user using Exchange Web Services (EWS). We noticed there is a node returned in the AutoDiscover response message called ServerVersion, but this value seems pretty opaque. Here’s a snippet from the AutoDiscover...
  • Blog Post: Line Breaks in Managed Web Service Proxy Classes

    Matt , Rick , and I were working on an issue recently where when an application using EWS would set a contact’s Street address to a value containing a carriage return and line feed, like this: physicalAddress.Street = "1234 56 Ave NE\r\nc/oPatrick Creehan" ; the address card control...
  • Blog Post: ConfigureMsgService fails with MAPI_E_INVALID_PARAMETER (0x80070057)

    I recently helped a customer with an issue where they were calling ConfigureMsgService and that call was failing, returning an HRESULT of MAPI_E_INVALID_PARAMETER (0x80070057). After debugging it, we established that the reason that ConfigureMsgService was failing was that the PR_PROFILE_HOME_SERVER_ADDRS...
  • Blog Post: DeleteItem Ignores ChangeKeys

    According to our documentation , DeleteItem calls should fail with a ErrorStaleObject error when the ChangeKey is not the most recent one. This, however, is not the case. In Exchange 2007, the ChangeKey is completely ignored in DeleteItem calls. This decision was made on the logic that if you are trying...
  • Blog Post: TNEF (Chapter 2): Old School

    As discussed in Chapter 1 of this captivating series, MAPI contains an interface to allow developers to create and read TNEF data. This interface is the ITnef interface. There are only a few methods in this interface and they are, for the most part, self explanatory. The entire process of creating a...
  • Blog Post: TNEF (Chapter 1): Basics

    I’ve worked quite a few cases recently regarding problems some folks have had either reading or composing TNEF content. I’ve learned quite a bit myself as a result, and I thought I’d share. I decided I would do a series of blog posts on the topic and hopefully save some of you the time I spent learning...
  • Blog Post: MAPI Docs Moved

    So, the Exchange team decided they didn't want to maintain the MAPI documentation anymore since they don't ship MAPI anymore. So the Outlook team stepped up and took over the docs. As such, you can now find them under the Outlook branch in the MSDN left-nav. http://msdn.microsoft.com/en-us/library...
  • Blog Post: OnSyncDelete Delete

    The Exchange team is looking for some feedback on business scenarios that will be impacted by removing store sinks from the code. With Exchange 2007 and beyond, the new technology designed to replace store sinks is EWS Notifications and Transport Agents. However, with the removal of the synchronous store...
  • Blog Post: Forwarding Appointments in Outlook Prepopulates “To” Field With All Attendees

    We’ve had a lot of folks calling in recently about this one. The symptoms are that if you go to your calendar in Outlook and forward a meeting, the To field is prepopulated with all attendees of the meeting and the Subject field is not prefixed with “FW:.” The common denominator of all victims of this...
  • Blog Post: You Say Toemaytoe I Say Tahmahtah

    We’ve seen a bunch of folks asking recently if their Exchange 2007 CAS server can talk to their Exchange 2003 mailbox server. The answer is <gasp> it depends on what you mean. It depends on what technology you are referring to and what you mean by “talk.” Are you referring to WebDAV calls? Then...
  • Blog Post: Outlook Requests Can't Get a Date

    There exists a scenario in which attendees to a meeting in Outlook will receive an updated meeting request from the originator that appears to be "out-of-date." In the InfoBar, Outlook will display a message that says "This request is out-of-date." If the attendee attempts to accept the meeting request...
  • Blog Post: MAPI_E_FAILONEPROVIDER (0x8004011d) after installing Windows Server 2003 SP2

    Sorry for the duplication, I'm just rebranding an earlier post of mine because many people have never heard of SNP and may discount the post due to the title. If you are getting MAPI errors because of RPC connectivity problems, and you have SP2 installed for Windows Server 2003, this is probably what...
  • Blog Post: Ooh, SNP

    We've recently been seeing an elevated number of cases where networking issues are adversely affecting performance and causing other problems with messaging technologies. The common thread in many of them is that the problem only started to occur after Windows Server 2003 SP2 was installed. I recently...
  • Blog Post: ARGH: Large WebDAV PROPPATCH requests fail with 401/401.5

    I had a case recently where one of our products, Duet, was doing a large PROPPATCH against Exchange 2003 and it was failing with a HTTP 401 error. The customer noticed that small PROPPATCH requests succeeded, but large ones (bigger than say 25 KB) would fail. Well, we knew that it couldn't be a permission...
  • Blog Post: Foreign Connectors aren't just bridges over the Rio Grande

    Matt Stehle had a great post on building foreign connectors, the gateway connectors replacement for Exchange 2007. Check it out.
  • Blog Post: New Blogger on the Team: DVESPA

    So my boy, Dave Vespa , has just posted his first real blog post: a good one, regarding using 32-bit MAPI on Exchange 2007 (64-bit). http://blogs.msdn.com/dvespa/archive/2007/03/22/accessing-exchange-s-extended-mapi-from-a-64-bit-process.aspx Dave is our resident COM / Interop (among other things...
  • Blog Post: HOWTO: Get Email Messages from Exchange to SharePoint

    Many people ask about how to do this, so I thought I'd write up a sample. This sample basically searches the inbox of a user and then does an HTTP GET against the DAV:href to get the EML file and then does an HTTP PUT to upload it to a SharePoint document library. using System; using System.Web; using...
  • Blog Post: Hook, Line, and Sink’r

    So I recently helped a customer develop a managed Exchange Store Sink. One thing I noticed is that it doesn't seem to be any public step-by-step instructions for the Exchange-development impaired, so I decided to at least give a high level HOWTO on doing this. So here ya go… Step 1 …The first thing...
Page 1 of 1 (19 items)