A
Andrew Slivker
I have an add-in that injects a toolbar button in a new mail window. I need
to gather edit fields values from "To" and "Subject" lines as well as the
message body when a user entered something there and clicked on my toolbar
button. If on this click event I analyze MailItem (current item of the
current inspector) neither of these fields are populated. I noticed if I
save this MailItem before retrieving its properties they are there. Saving
item is not an option as it results on this MailItem being thrown into
Drafts folder which is an undesirable side effect. The question is:
How to get access to these edit fields without forcing MailItem to be saved?
Thank you,
Andrew
to gather edit fields values from "To" and "Subject" lines as well as the
message body when a user entered something there and clicked on my toolbar
button. If on this click event I analyze MailItem (current item of the
current inspector) neither of these fields are populated. I noticed if I
save this MailItem before retrieving its properties they are there. Saving
item is not an option as it results on this MailItem being thrown into
Drafts folder which is an undesirable side effect. The question is:
How to get access to these edit fields without forcing MailItem to be saved?
Thank you,
Andrew