Events _REPLY, _FORWARD, or _NEW

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.
 
K

Ken Slovak - [MVP - Outlook]

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.
 

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