Add content to mailbody

  • Thread starter Thread starter Andre Maas
  • Start date Start date
A

Andre Maas

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
 
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.
 
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é
 
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.
 
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é
 
Back
Top