> Is it possible to modify the body ONLY in/for the mailpreview mode?
Outlook displays in the reading pane the data that is stored in the item. In your scenario, you would have to add the data, save the item, then remove the data when the item is no longer displayed.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> Hey,
>
[quoted text clipped - 9 lines]
> Thx
> Andre
Andre Maas - 29 Jan 2008 15:48 GMT
Hey Sue,
thanks for help.
That is the way i resolved my problem. i store the orginal body in a
variable and if the item is not longer displayed i put the 'old' body
back to the item and saved it.
is there any good idea to solve it high performant?
Regards
André
Sue Mosher [MVP-Outlook] schrieb:
>> Is it possible to modify the body ONLY in/for the mailpreview mode?
>
> Outlook displays in the reading pane the data that is stored in the item. In your scenario, you would have to add the data, save the item, then remove the data when the item is no longer displayed.
Sue Mosher [MVP-Outlook] - 29 Jan 2008 16:51 GMT
> is there any good idea to solve it high performant?
None that I can think of. I doubt that constantly altering the content of existing messages is a task Outlook was designed to handle.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> Hey Sue,
>
[quoted text clipped - 13 lines]
>>
>> Outlook displays in the reading pane the data that is stored in the item. In your scenario, you would have to add the data, save the item, then remove the data when the item is no longer displayed.
Andre Maas - 31 Jan 2008 10:53 GMT
Hey Sue,
thanks for help.
That is the way i resolved my problem. i store the orginal body in a
variable and if the item is not longer displayed i put the 'old' body
back to the item and saved it.
is there any good idea to solve it high performant?!
Regards
André
Sue Mosher [MVP-Outlook] schrieb:
>> Is it possible to modify the body ONLY in/for the mailpreview mode?
>
> Outlook displays in the reading pane the data that is stored in the item. In your scenario, you would have to add the data, save the item, then remove the data when the item is no longer displayed.