Events _REPLY, _FORWARD, or _NEW

  • Thread starter Thread starter RMB
  • Start date Start date
R

RMB

We are trying to build an Addin application for Outlook 2003 from Microsoft
Visual Studio 2008 Professional Edition'

We have problem finding out how to react to the Reply,Forward or New Event
from the MailItem.

The documentation that we find is not correct, as we need a code with

Sub X_reply() handle as Y


We do not know how to set the X and Y

Help would be appreciated.

Thanks in advance.
 
How you handle the item.Reply() and item.Forward() events depends on what
language you're using. For New I assume you mean the event when a new email
is opened? That would be Inspectors.NewInspector(), also easily handled.

See www.outlookcode.com for examples of how to handle all sorts of events in
Outlook items. You can also download samples addins or templates, although
for Outlook 2007, from the Office Development Web site at MSDN or at my Web
site at http://www.slovaktech.com/outlook_2007_templates.htm. Those show how
to structure an addin and how to handle various events in one.
 
Back
Top