Modifying the values of an Outlook inspector window (From,To..)

  • Thread starter Thread starter lsmiranda
  • Start date Start date
L

lsmiranda

Hi,

I have the from/to/body/etc fields of an email as individual strings.
I would like to recreate the mail item and provide it to the user as
an inspector window (that has 'reply'/reply to all/forward as the
inspector window, similar to double clicking on an existing email in
your inbox)...

I can construct a mail item, but the 'FROM' field is read only... so i
have a feeling i may need to tweak the inspector window...

I was thinking to intercept the inspector upon creation, set its
current item to my mailitem, and modify the FROM field in the actual
inspector window.. Are there any examples of how to modify these
fields? Is this field even modifyable in the inspector window?

any help appreciated, including what properties i should be looking at
related to inspector windows...

thanks!

Luis
 
Thanks. Just to clarify, maybe i should rephrase the question briefly.
I have no mailitem object. But i have, lets say from a database, 4
strings, the from/to/subject/body of an old mail. I want to
reconstruct an email message and provide inspector window. The FROM
field in a mailItem object is readonly (which makes sense), so any
ideas on how to provide valid 'from' data in the inspector?
 
Create new mailItem object and fill it fields with appropriate values,
after this delete the old mailItem.
 
Back
Top