Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / January 2008

Tip: Looking for answers? Try searching our database.

Add content to mailbody

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andre Maas - 29 Jan 2008 09:36 GMT
Hey,

i am writing a little application that add some needed information to
the mailbody.

So if i select an mail, i add some new information to the original body.
If i select another mail the prev mail should to be stored without the
infos i add. But WHY???

Is it possible to modify the body ONLY in/for the mailpreview mode?

Thx
Andre
Sue Mosher [MVP-Outlook] - 29 Jan 2008 15:04 GMT
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.