(Msg. 1) Posted: Mon Mar 23, 2009 6:12 pm
Post subject: redemption MAPIUtils Archived from groups: microsoft>public>outlook>program_forms (more info?)
Hi,
I'm setting some custom properties using Redemption.MAPIUtils interface.
MessageItem interface is accessed from MAPIUtils and each property is set to
the mail message using HrSetOneProp() function.
The problem is that these properties are not available now. i need to
restart outlook for getting these values. I have checked the same using
Outlook Spy and it didn't show those properties. Once I restart outlook, it
shows all properties.
(Msg. 2) Posted: Tue Mar 24, 2009 9:40 am
Post subject: Re: redemption MAPIUtils [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I assume you saving the MessageItem?
You probably also need to alert Outlook that the item underlying the
MessageItem has changed. Usually we use a trick like this, where item would
be the item underlying the MessageItem object:
item.Subject = item.Subject
item.Save
That should be done after saving the MessageItem and releasing references to
it.
"WLAN" <WLAN.RemoveThis@discussions.microsoft.com> wrote in message
news:1F808BCE-60CB-4C6D-8C0E-03294FB636CE@microsoft.com...
> Hi,
>
> I'm setting some custom properties using Redemption.MAPIUtils interface.
> MessageItem interface is accessed from MAPIUtils and each property is set
> to
> the mail message using HrSetOneProp() function.
>
> The problem is that these properties are not available now. i need to
> restart outlook for getting these values. I have checked the same using
> Outlook Spy and it didn't show those properties. Once I restart outlook,
> it
> shows all properties.
>
> What is the issue? How do I resolve it?
>
> I need to read those properties after setting it.
>
> Thanks
>
(Msg. 3) Posted: Tue Mar 24, 2009 9:45 am
Post subject: redemption MAPIUtils [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Thanks Ken.
I'm calling messageItem.Save. But I'm not clear about 'alert outlook' part.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum