Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Code Snippet   (RSS)

EnumAccounts Sample and Some New Account Management Props

A while back, Jason posted an Account Management API sample. I’ve threatened promised before that I would post an update to this sample, and I finally got around to it. You can download the updated sample here . In addition to adding a –W command to call

GCReconnect: Please Don’t Delete the Profile

I had some extra time today, so I put together updates I’ve been working on for the GCReconnect sample/tool which we use to demonstrate/test referrals . The key addition here is an oft requested switch, –k, which requests that we keep the profile that

(Less Than) Portable Search Folders

Let’s have fun with the object model and search folders: Outlook running a profile in online mode. Create this macro: Sub TestAdvancedSearchComplete()     Dim sch As Outlook.Search     set sch = Application.AdvancedSearch("Inbox",

Try Not To Query All Rows

I wanted to take a look at HrQueryAllRows today. This is a popular function, especially among novice MAPI programmers. It seems ideal – you can pass your tag array, restriction, sort order all to one function and get all the rows back in one call. However,

Get The OOF Out Of Here

Dan asked if I could post some CDO sample code he was working on. This sample script demonstrates a few interesting things: Dynamic session creation Accessing the associated contents table of a folder using HiddenMessages Looping backwards through a collection

Sending an Outgoing Message Requesting a Read Receipt With MAPI

This is the third part of a three part series documenting the MFCMAPI sample add-in CreateOutlookItemsAddin . We're in the process of updating the MAPI documentation and these articles are a preview of some of the new content. This article assumes you

Creating a Recurring Task With MAPI

This is the second part of a three part series documenting the MFCMAPI sample add-in CreateOutlookItemsAddin . We're in the process of updating the MAPI documentation and these articles are a preview of some of the new content. This article assumes you

Creating a Recurring Appointment With MAPI

This is the first of a three part series documenting the MFCMAPI sample add-in CreateOutlookItemsAddin . We're in the process of updating the MAPI documentation and these articles are a preview of some of the new content. This article assumes you have

Forcing Plain Text With MAPI

We had a customer recently who was sending mails with Outlook's MAPI. They wanted to know how to force the message to be plain text, like it is in Outlook when you select Send Plain Text only in the properties for the recipient: They were using CreateOneOff

Managing The Outlook Account Management Dialogs

We've decided to document another function in the Account Management API , DisplayAccountList. This function allows you to display the Account Settings dialog: and Add New E-Mail Account property sheet: DisplayAccountList hangs off of IOlkAccountManager

You Can't Triple Stamp a Double Stamp

In the Exchange 2007 SDK , we have an antivirus sample application which really exists to illustrate how to build a Transport Routing Agent and handle events. A few customers had difficulties with this sample, so I wanted to go over how to get is set

New Restriction Types Seen In Wrapped PSTs

Those of you wrapping PSTs may see something interesting in the restrictions Outlook 2007 will try to set against your folders. There are a couple of new restriction types you won't have seen before. Outlook will only use these restriction types when

September 2007 Release of MFCMAPI

You can now get the September 2007 release (6.0.0.1001) of MFCMAPI up on the Codeplex site: http://www.codeplex.com/MFCMAPI I'm still getting the hang of Codeplex . There seems to be a lot of extra work involved in closing out bugs for a release. What

MFCMAPI Source is Live

I said I'd do it , and now I did it. Introducing the MFCMAPI project on CodePlex: http://www.codeplex.com/MFCMAPI Please download the source and inundate me with comments, bugs, and feature requests. There's an issue tracker tab on the CodePlex site that

You Mean You Want the OOM To Actually Work?

We had a customer report recently that when he tried to fetch certain properties using the Outlook Object Model, all he got was garbage. This turned in to an interesting foray into the world of dual dispatch interfaces and VB. The properties in question
More Posts Next page »
 
Page view tracker