A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

MailItem User Properties not updating



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 10th 08, 04:43 AM posted to microsoft.public.outlook.program_addins
rob_tt08[_2_]
external usenet poster
 
Posts: 15
Default MailItem User Properties not updating

Our company has been working on an Outlook AddIn using VSTO which has a
number of issues which we have not been able to resolve yet.

In our .NET addin we have created a couple of custom fields specific to our
application on the Inbox folder. These link to user properties we create on
the mail items. In code when we set the values for these user properties, we
are calling mailItem.Save() both before and after to ensure the values get
persisted.

We are noticing that sometimes the field value in the Inbox is not updating.
Yet if we manually go into the mail item afterwards and save it from the GUI,
it then updates properly. But closing Outlook and re-opening it or changing
folders doesn't make it update. This appears to happen most often on mail
items which have just been forwarded or replied to. We are unsure why the
custom fields don't update sometimes and how to fix this.

Any help much appreciated.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading MailItem properties outside of Outlook Ken Warthen Outlook and VBA 7 September 2nd 08 10:40 PM
Access to MailItem properties before opening new inspector ? Marcin Add-ins for Outlook 8 April 25th 08 07:50 PM
User properties search Andy DeFilippo Outlook - Using Forms 0 October 22nd 07 02:26 PM
Outlook 2003- named properties v/s user properties ? newToOutlookProgramming Add-ins for Outlook 2 May 18th 07 06:38 PM
event handler for changes to TO CC and BCC properties of mailitem epsilon_9 Outlook and VBA 3 January 15th 07 03:14 PM


All times are GMT +1. The time now is 11:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.