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

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
 
L

lsmiranda

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?
 
J

j

Create new mailItem object and fill it fields with appropriate values,
after this delete the old mailItem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top