The problem is that the reply could be to any number of messages -- the
message selected in the Explorer or any message open in an Inspector. You
certainly could compare the subject of your reply with the subject of all of
those messages and then sender/To, if necessary, but if you have two
messages with the same sender and subject, there would be no way to know
which one you're replying to.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
Hi Sue,
I'm invoking the custom reply form by simply clicking Reply, or selecting
Actions -> Reply from the toolbar, or Control+r on the keyboard. In other
words my custom reply form comes up no matter where I invoke reply from.
I gather from what you're saying that I will have to code a function, and
call it from a toolbar button or something, that handles my reply code or
passes off to the code in my custom reply form. I was hoping to have my
custom reply form be self-contained and not have to rely on a toolbar button
or other external functionality. There are other things my reply form does
besides just this function so is why I am keen on having it be
self-contained.
What I'm doing with the information (the Recipients collection of the
original message) is shelling out to an external app with it. Thanks
Sue Mosher said:
How are you invoking the custom reply form? That's where you'll need to
interate the original item's Recipients collection. You haven't said what
you want to do with it yet.