阅读 hotmail 电子邮件的最简单方法

发布于 2024-10-12 07:27:36 字数 73 浏览 10 评论 0原文

我正在寻找一个库或一种简单的方法来打开 hotmail 收件箱并阅读新旧电子邮件。示例代码将不胜感激。

谢谢SOF。

I am looking for a library or a simple way to open a hotmail inbox and read new and old emails. A sample code would be much appreciated.

Thanks SOF.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼眸 2024-10-19 07:27:37

我遇到了同样的问题,来自 asp.net 的绅士向我展示了这个链接来下载 openpop: http://hpop.sourceforge .net/

链接有一个测试项目。但我所需要的只是:

        Pop3Client pop3Client = new Pop3Client();

        pop3Client.Connect("pop3.live.com", 995, true);
        pop3Client.Authenticate("user", "password");

        Message message = pop3Client.GetMessage(10);
        string messageText = message.ToMailMessage().Body;

I had the same problem and the gentleman from asp.net show me this link to go download openpop: http://hpop.sourceforge.net/

The link has a test project. But all I needed was:

        Pop3Client pop3Client = new Pop3Client();

        pop3Client.Connect("pop3.live.com", 995, true);
        pop3Client.Authenticate("user", "password");

        Message message = pop3Client.GetMessage(10);
        string messageText = message.ToMailMessage().Body;
辞旧 2024-10-19 07:27:37

如果你想使用 imap 协议...这可能会有所帮助: 使用 c# .net 库检查来自 gmail 服务器的 IMAP 邮件

if you want to go with imap protocol ... this may help : using c# .net librarires to check for IMAP messages from gmail servers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文