从Outlook加载项中删除来自Exchange Server的邮件 [英] Deleting mail messages from exchange server from an outlook add-in

查看:143
本文介绍了从Outlook加载项中删除来自Exchange Server的邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio工具为office编写outlook 2010(windows桌面版)的加载项。

Outlook客户端配置了交换电子邮件。

我想允许用户从交换服务器删除消息。

我认为如果我使用交换网络服务或使用某些第三方库它应该可行但是为了做到这一点我我不得不要求用户重新指定他的交换电子邮件配置到我的插件 - 我想要避免这个。



我想知道是否有一个更容易通过调用一些outlook或VSTO API来实现这一点,基本上我正在寻找一种方法来告诉outlook从我的加载项代码中删除服务器中的这些消息。

我试过搜索VSTO文件但没有结果。



Zodiac7

I am writing a add-in for outlook 2010 (windows desktop version) using Visual studio tools for office.
The outlook client has a exchange email configured.
I want to allow the user to delete messages from the exchange server.
I think it should be do-able if I use the exchange web services or use some third party library but in order to do this I would have to ask the user to re-specify his exchange email configuration to my add-in - I want to AVOID this.

I am wondering if there is a easier way to do this by calling some outlook or VSTO API, basically I am looking for a way to tell outlook to delete these messages from the server from my add-in's code.
I have tried searching the VSTO documentation but have gotten no results.


Zodiac7

推荐答案

我写的使用Visual Studio工具办公用于Outlook 2010的加载项(Windows桌面版)。

Outlook客户端配置了交换电子邮件。

我想允许用户从交换服务器删除邮件。

我认为如果我使用交换网络服务或使用某些第三方库它应该可行,但为了做到这一点,我必须要求用户重新指定
他的将电子邮件配置交换到我的加载项 - 我想避免这种情况。




我想知道是否有更简单的方法通过调用一些outlook或VSTO API来实现这一点,基本上我正在寻找一种方法来告诉outlook从我的服务器中删除这些消息
加载项的代码。


我试过搜索VSTO文档但没有得到任何结果。


这篇关于从Outlook加载项中删除来自Exchange Server的邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆