从Outlook显示Windows应用程序中的邮件 [英] Showing the mails in windows application from Outlook

查看:61
本文介绍了从Outlook显示Windows应用程序中的邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Windows应用程序中,我想显示Outlook中收到的所有邮件。

有没有可能做到这一点...请帮助任何人。

In my windows application , i want to show all mails that are received in the outlook.
Is there is any possibilities to do this... Please help any one.

推荐答案

谷歌自动化前景.net,你会发现很多例子



Office C#app自动化Visual Studio 2010 C#中的Outlook(CSAutomateOutlook)示例 [ ^ ]



你要结束了尽管有烦人的安全弹出窗口,但它并不是无缝的。另一种方法是实际上不了解电子邮件的工作原理,并意识到Outlook只是一个显示电子邮件帐户内容的桌面应用程序。如果邮件位于Exchange或邮件服务器上的帐户中,那么您应该只使用POP3或IMAP从他们所在的邮件服务器访问电子邮件,而不是自动化Outlook。



最后如果你打算从asp.net网站上做这个,那就不要打扰了,它不会起作用。
Google "automate outlook .net" and you'll find lots of examples

Office C# app automates Outlook (CSAutomateOutlook) sample in C# for Visual Studio 2010[^]

You're going to end up with annoying security pop-ups though, it's not going to be "seamless". The alternative is to actually unsderstand how email works and realise that Outlook is merely a desktop application that shows what is in an email account. If the mails are in an account on Exchange or a mail server, then rather than automating Outlook you should simply access the emails from the mail server they are on using POP3 or IMAP.

Lastly if you are intending to do this from an asp.net website then don't bother, it's not going to work.


这篇关于从Outlook显示Windows应用程序中的邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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