msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Add content to mailbody

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins
Author Message
Andre Maas



Joined: 10 Oct 2007
Posts: 10

PostPosted: Tue Jan 29, 2008 3:36 pm    Post subject: Add content to mailbody Reply with quote

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

Archived from group: microsoft>public>outlook>program_addins
Back to top
View user's profile Send private message
Sue Mosher [MVP-Outlook]



Joined: 12 Aug 2007
Posts: 656

PostPosted: Tue Jan 29, 2008 3:04 pm    Post subject: Re: Add content to mailbody Reply with quote

> 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, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Andre Maas" wrote in message news:%232%23JyplYIHA.2000@TK2MSFTNGP05.phx.gbl...
> 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
Back to top
View user's profile Send private message
Andre Maas



Joined: 10 Oct 2007
Posts: 10

PostPosted: Tue Jan 29, 2008 9:48 pm    Post subject: Re: Add content to mailbody Reply with quote

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.
>
Back to top
View user's profile Send private message
Sue Mosher [MVP-Outlook]



Joined: 12 Aug 2007
Posts: 656

PostPosted: Tue Jan 29, 2008 4:51 pm    Post subject: Re: Add content to mailbody Reply with quote

> 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.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Andre Maas" wrote in message @TK2MSFTNGP05.phx.gbl...
> 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.
>>
Back to top
View user's profile Send private message
Andre Maas



Joined: 10 Oct 2007
Posts: 10

PostPosted: Thu Jan 31, 2008 4:53 pm    Post subject: Re: Add content to mailbody Reply with quote

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.
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Revise content question I have created a simple help desk Post form in a public folder. When a new item is posted, and I open it, usually I have to choose Revise Contents to edit it, but if I do , and the save it, and open it again afterwards, it is still editable and I don't ha

Unwanted message content from Outlook 2007.. When I send a email from Outlook 2007 to any other non form of Outlook user (Lotus Notes, web based email i.e gmail etc) they end up with "1024x768 Clean Clean false false false EN-AU X-NONE X-NONE embedded with the message jus

E-mails stuck in the DELETE BOX - DON'T SHOW CONTENT - will Please help me delete the emails in my delete box. I cannot not anymore. Over 10 emails are stuck. These emails don't show their content anymore. They will not accept being deleted anymore. What can I do. I tried to move the system back in time to check i

Stop active content warning in Live Local for Outlook tab? Every time I open up a calendar appointment, I get a message at the top of the Windows Live Local location tab that states: To help protect your security, your web browser has restricted this file from showing active content that could access your compute

Outlook 2003 - Reformat email content in reading Mode Could anyone suggest a way for this: * I receive an email with a sender's phone number * When the email is open for reading in outlook 2003 the phone number is required to automatically change to a hyperlink (On Load or Bu
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group