简体   繁体   English

如何开始创建允许将邮件拖放到任务窗格的Outlook外接程序

[英]How to begin creating an outlook addin that allows drag and drop of mail messages to a task pane

I've never done an outlook addin before but have a (I hope) simple idea and the resources to get started are fairly overwhelming. 我以前从未做过Outlook插件,但是有一个(我希望)简单的想法,并且开始工作的资源非常庞大。

For reference I am using Visual Studio 2013 and would be targeting this add in for Outlook 2013 / 2016 (ideally with one version? I primarily will be working in c# 供参考,我使用的是Visual Studio 2013,并将针对Outlook 2013/2016的此加载项(理想情况下使用一个版本?我主要将在c#中工作)。

My Idea is fairly straightfoward I hope: 我的想法很直截了当,我希望:

Create a task pane and populate it with list items from an outside source. 创建一个任务窗格,并使用外部来源的列表项填充它。 This task pane should be able to show when users are in the inbox view. 当用户处于收件箱视图中时,此任务窗格应能够显示。

users should then be able to take a message and drag it onto anyone of the list items and that should fire some background code to send the email off to process the email into an external source and perhaps set a flag or color on the email (or maybe move it to a folder...) 然后,用户应该能够接收一条消息并将其拖动到任何列表项上,并应该触发一些背景代码以发送电子邮件以将电子邮件处理为外部来源,并可能在电子邮件上设置标记或颜色(或也许将其移至文件夹.​​..)

Thoughts on how to get started? 关于如何开始的想法? Thanks! 谢谢!

Have you checked out the tutorial Walkthrough: Creating Your First VSTO Add-in for Excel ? 您是否已检查了“ 演练:为Excel创建第一个VSTO加载项 ”教程? I found it extremely useful when learning VSTO for a project. 在为项目学习VSTO时,我发现它非常有用。 Granted it is an Excel add-in, but I can't imagine an Outlook one would be that different. 当然,这是一个Excel加载项,但我无法想象Outlook会有如此大的改变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM