I'm new to COM and Exchange development, although have several years of
I've been able to use Simple MAPI for most of what I need, with one
I'd like to hook the event that Exchange generates when a user opens a
message (e.g. by double-clicking). My hook would do simple processing,
then pass the event and message through to Exchange as though my code
had never been there.
Can anyone point me to a simple sample? I can work out how to examine
the message once I've got access to it; it's just getting at the 'Open'
event. I've worked out how to do it from a menu item, but I need to
avoid my code forcing users to change their behaviour. This is why I
need to catch the open from a double click, or the enter key on the
The reason I'm doing all this is that I need to detect incoming messages
with a 'special' attribute (such as a named attachment, or something
else I can set with Simple MAPI at the sender's end), and to take
special action for those messages.
Maybe profiles are the way to go, but I can't assume anything about the
sender's ID. All I can assume is that all users will be using 95/NT,
with some flavours of Exchange or messaging.
email replies, please, since my news feed's unreliable, and please not
(I hate to do this, but I'm sick of SPAM.
Please reverse ku to get real email address.)