开发者

How to develop an outlook 2007 custom action?

开发者 https://www.devze.com 2022-12-11 08:53 出处:网络
I need a custom outlook rule action: \"Save the email attachments to DB\", for this action the attachments in that email will be automatically saved to DB.

I need a custom outlook rule action: "Save the email attachments to DB", for this action the attachments in that email will be automatically saved to DB.

I find a topic at MSDN Outlook 2007 Sample Add-ins: Rules Add-in, Travel Agency Add-in, and Prepare for Meeting Add-in but this topic does not show how to develop a custom action.

Outlook 2007 has a "Rules Wizard" dialog, in the "Select actions" form has many actions, it is possible add my custom action into this form?

I also find a action named "perform a custom action" in the "Rules Wizard" dialog, when check this action user can open a dialog to select a custom action. How to develop a add-in which c开发者_如何学运维an be used in this dialog?


The answer is no you can't use code to extend the "custom actions" available in the Rules wizard.

You can however write custom code with an Outlook VSTO addin that will do the same thing, using the Application level events provided, such as NewMailEx etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消