Microsoft KB Archive/916656

From BetaArchive Wiki

Article ID: 916656

Article Last Modified on 6/13/2006



APPLIES TO

  • Microsoft Outlook 2000 Standard Edition
  • Microsoft Outlook 2002 Standard Edition
  • Microsoft Office Outlook 2003




SYMPTOMS

Consider the following scenario. You create a Microsoft Component Object Model (COM) add-in or a Microsoft Visual Basic for Applications (VBA) script that receives Microsoft Office Outlook events. You right-click a file in Microsoft Windows, click Send To, and then click Mail Recipient. In this scenario, when the e-mail message is created, the COM add-in or VBA script does not receive Outlook events.

CAUSE

This issue occurs because the Mail Recipient menu option starts a component that uses Simple MAPI. Simple MAPI is designed to work with many e-mail clients. Therefore, it does not send Outlook-specific events.

WORKAROUND

To work around this issue, use one of the following methods. Use the method that fits your situation the best.

Method 1: Remove the Mail Recipient option from the Send To shortcut menu

You can remove the Mail Recipient option from the Send To shortcut menu. To do this, follow these steps:

  1. Start Windows Explorer.
  2. Locate the following folder:

    Drive\Documents and Settings\UserName\SendTo

  3. Right-click the Mail Recipient.MAPIMAIL file, and then click Delete.

Method 2: Create a custom DLL that handles the Mail Recipient menu option

You can create a custom DLL that handles the Mail Recipient menu option.

Note By default, the Sendmail.dll file handles the Mail Recipient menu option.

STATUS

This behavior is by design.

REFERENCES

For more information about Simple MAPI, click the following article number to view the article in the Microsoft Knowledge Base:

200018 Differences between CDO, Simple MAPI, and Extended MAPI


Keywords: kbtshoot kbprb KB916656