• Sign in
 
  •  
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...

  • About
  • Email Blog Author
  • RSS for posts
  • Atom
  • RSS for comments
    • OK
  • CDO (25)
  • Code Snippet (43)
  • Custom Providers (17)
  • Debugging (7)
  • DevMsgTeam (301)
  • Documentation (109)
  • DST (8)
  • EWS (7)
  • Exchange (109)
  • Gotchas (97)
  • Hotfix (28)
  • MAPI (240)
  • MAPI Download (54)
  • MFCMAPI (101)
  • MSDN (59)
  • Non Dev (11)
  • OOM (17)
  • Outlook (171)
  • Outlook 2007 Auxiliary Reference (45)
  • Outlook Integration API (12)
  • Protocol Docs (20)
  • PST/OST (23)
  • Referrals (8)
  • Vista (12)
  • WrapPST (18)
Links:
  • Download MFCMAPI
  • MFCMAPI on Facebook
  • Troubleshooting Outlook Crashes
  • Office Update Center
  • Developer Messaging Team Blog
This site is provided "AS IS" with no warranties, and confers no rights. Use of included code samples are subject to the terms specified in the Terms of Use.
Archives
  • May 2013 (3)
  • April 2013 (1)
  • March 2013 (2)
  • February 2013 (2)
  • January 2013 (2)
  • December 2012 (4)
  • November 2012 (2)
  • October 2012 (2)
  • September 2012 (1)
  • August 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (3)
  • March 2012 (3)
  • February 2012 (3)
  • January 2012 (1)
  • December 2011 (3)
  • November 2011 (1)
  • October 2011 (3)
  • September 2011 (1)
  • August 2011 (1)
  • July 2011 (4)
  • June 2011 (3)
  • May 2011 (3)
  • April 2011 (3)
  • March 2011 (5)
  • February 2011 (1)
  • January 2011 (2)
  • December 2010 (1)
  • November 2010 (4)
  • October 2010 (1)
  • September 2010 (3)
  • August 2010 (5)
  • July 2010 (3)
  • June 2010 (3)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (3)
  • February 2010 (3)
  • January 2010 (2)
  • December 2009 (3)
  • November 2009 (5)
  • October 2009 (4)
  • September 2009 (5)
  • August 2009 (5)
  • July 2009 (11)
  • June 2009 (6)
  • May 2009 (5)
  • April 2009 (3)
  • March 2009 (18)
  • February 2009 (10)
  • January 2009 (3)
  • December 2008 (2)
  • November 2008 (2)
  • October 2008 (5)
  • September 2008 (4)
  • August 2008 (10)
  • July 2008 (6)
  • June 2008 (8)
  • May 2008 (2)
  • April 2008 (4)
  • March 2008 (2)
  • February 2008 (2)
  • January 2008 (5)
  • December 2007 (3)
  • November 2007 (2)
  • October 2007 (3)
  • September 2007 (1)
  • August 2007 (4)
  • July 2007 (5)
  • June 2007 (3)
  • May 2007 (4)
  • April 2007 (1)
  • March 2007 (6)
  • February 2007 (3)
  • January 2007 (2)
  • December 2006 (4)
  • November 2006 (3)
  • October 2006 (1)
  • August 2006 (1)
  • June 2006 (5)
  • May 2006 (5)
  • December 2005 (1)
  • November 2005 (4)
  • October 2005 (2)
  • September 2005 (1)
  • April 2005 (3)
  • December 2004 (2)
  • September 2004 (2)
  • August 2004 (3)
  • July 2004 (3)
Blogs I Read
  • Exchange

  • Raymond Chen [MSFT]

  • Larry Osterman [MSFT]

  • Peter David

  • Aaron Margosis [MSFT]

  • Jason Johnston [MSFT]

  • Matt Stehle (MSFT)

  • Patrick Creehan [MSFT]

  • Ryan Gregg [MSFT]

    Outlook PM
  • WebDav 101

    Dan Bagley (MSFT)
  • Dave Vespa [MSFT]

  • Randy Topken

    Outlook EE

December, 2008

MSDN Blogs > SGriffin's MAPI Internals > December, 2008
  • Subscribe via RSS
Sort by: Most Recent | Most Views | Most Comments
Excerpt View | Full Post View
  • SGriffin's MAPI Internals

    Welcome to the Outlook 2007 MAPI Reference

    Posted over 5 years ago
    by Stephen Griffin - MSFT
    • 8 Comments

    The Outlook 2007 MAPI Reference just went live on the MSDN. The docs are propagating their way through the servers, and should start showing up in the table of contents and searches soon. [update: propagation is complete - Live and Google should reindex soon]

    This is the MAPI documentation refresh I've been talking about for the last few months. The short version of the story is that the Exchange team was ready to cut the MAPI documentation loose, but the Outlook team wanted to keep it around, so we had to transfer ownership from one team to another. Now, we could have just moved the docs from one node to another and been done with it, but instead we figured this would be a good time to scrub the docs and fix a lot of long standing technical, formatting and art issues.

    Some highlights:

    • The What's New page: documents what's been added, changed, and removed from the docs. Notably, CMC and CDO documentation was cut, and nearly a thousand properties were added.
    • The Samples page: points to a number of updated MAPI samples, including MFCMAPI itself, which now has a go link: http://go.microsoft.com/fwlink/?LinkID=124154
    • The Properties node: Under this node you'll find a massive list of properties. We started with the original list from Exchange's MAPI documentation, and added just about every property we could think of. If a property is mentioned in the Exchange Protocol documentation, it's most likely documented here.
    • The Interfaces node: This is where you'll find all the MAPI interfaces, such as IMAPIProp. All interface documentation has been scrubbed, and many include references to where you can find the interface used in MFCMAPI.

    My favorite addition to the MAPI documentation though, is the "Community Content" banner now on every page. Did we leave something out? Was there something we should have said about a particular property? Just add it to the bottom of the article. This is a great way to keep the content up to date, and we will be paying attention to the comments posted. If we get a chance to do another refresh down the road we may even incorporate the feedback.

    Update: Angela is talking about this as well.

    Enjoy!

  • SGriffin's MAPI Internals

    I Did Read Your Message

    Posted over 5 years ago
    by Stephen Griffin - MSFT
    • 0 Comments

    On my article about enabling rules in the Wrapped PST, Richard pointed out that when you do this, read receipts stop working. We've investigated this and found that there's something a little extra you have to do to get read receipts to fire.

    Remember that we're using ITEMPROC_FORCE to push the messages through the Item Proc pipeline. As I described earlier, that pipeline handles rules, junk mail, and spam processing. It also handles firing read receipts. Let's take a look at how read receipts fit in to MAPI and the PST provider:

    • The MAPI properties PR_READ_RECEIPT_REQUESTED and PR_NON_RECEIPT_NOTIFICATION_REQUESTED indicate that a receipt has been requested.
    • The nontransmittable MAPI property PR_MESSAGE_FLAGS has two flags, MSGFLAG_RN_PENDING and MSGFLAG_NRN_PENDING, which also indicate that a receipt has been requested.
    • When the MAPI spooler delivers a message to the PST provider, the PST provider reads the PR_READ_RECEIPT_REQUESTED and PR_NON_RECEIPT_NOTIFICATION_REQUESTED properties and sets the equivalent flags in PR_MESSAGE_FLAGS.
    • Further along in the process of saving the message, the PST provider, seeing the flags set in PR_MESSAGE_FLAGS, sends out read receipts when the message is delivered.

    Now - with ITEMPROC_FORCE, we're breaking this a bit - we're skipping the spooler. Since the message isn't being delivered from the spooler, we skip the step where we translate the properties into flags. And since no flags are set, we don't send out receipts.

    So - if you're using ITEMPROC_FORCE, and read receipts are important, you need to implement a little extra logic. If you would normally set the receipt properties, also set the equivalent receipt flags. Receipts should then start working.

Page 1 of 1 (2 items)
  • © 2013 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy & Cookies
  • Report Abuse
  • 5.6.426.415