View Single Post
  #1  
Old August 12th 09, 08:19 AM posted to microsoft.public.outlook.program_addins
Teodora Gancheva
external usenet poster
 
Posts: 1
Default Categories not persisted between sessions in Outlook 2007

Hi,

I have a C# COM Add-in for Outlook 2007 that adds categories to mail
messages programmatically. I use mapiNameSpace.Categories.Add method to add
the category to the Master Category List and the Categories property of the
MailItem to assign the category to the mail. This works fine and the category
is successfully added to the mail and to the Master Category List.
However, when Outlook 2007 is restarted only the category assigned to the
mail is persisted. The category disappears from the Master Category List.
I am using Outlook 2007 SP2 with Exchange account. Has anyone encountered
this issue before? I found very little information on the net about Outlook
categories, so any hint is highly appreciated.
Thanks,
Teodora Gancheva
Ads