A COM add-in or VBA script does not receive Office Outlook events when you click "Mail Recipient" on the "Send To" shortcut menu in Windows (916656)
The information in this article applies to:
- Microsoft Outlook 2000
- Microsoft Outlook 2002
- Microsoft Office Outlook 2003
SYMPTOMSConsider 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.CAUSEThis 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.WORKAROUNDTo 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 menuYou can remove the Mail Recipient option from the
Send To shortcut menu. To do this, follow these steps:
- Start Windows Explorer.
- Locate the following folder:
Drive\Documents and Settings\UserName\SendTo - Right-click the Mail Recipient.MAPIMAIL file, and then click Delete.
Method 2: Create a custom DLL that handles the Mail Recipient menu optionYou 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
Modification Type: | Major | Last Reviewed: | 6/13/2006 |
---|
Keywords: | kbtshoot kbprb KB916656 kbAudDeveloper kbAudITPRO |
---|
|