在C#中仅从服务器获取未读邮件 [英] Fetch only unread mails from server in C#

查看:80
本文介绍了在C#中仅从服务器获取未读邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我正在开展一个项目,我需要从邮件服务器上取邮件。

我有谷歌的解决方案,通过使用OpenPop.dll,这是可能的。通过使用OpenPop.dll,我们将从邮件服务器获取所有邮件,但每次连接到服务器都会收到所有邮件。

例如如果有100封邮件则会一直收到所有100封邮件,但我只想获得 UNREAD 邮件。



我的邮件服务器属于POP类型,可以任何人都帮我从邮件服务器获取未读邮件。

Hello All,

I am working on a project where, I need to fetch mails from mail-server.
I got solution on Google stating that by using OpenPop.dll, this is possible. By using OpenPop.dll we will get all mails from mail-server, but every time connecting to server will get all mails.
for example if there are 100 mails it will get all 100 mails all the time, but I want to get only UNREAD mails.

My mail-server is of type POP, can anyone help me in getting only unread mails from mail-server.

推荐答案

POP无法识别msg是读还是未读。

检查以下链接,猜测它到底需要什么

POP未读邮件 [ ^ ]
POP cannot identify if a msg is read or unread.
Check the below link, guess its exactly what you need
POP Unread Mail[^]


这篇关于在C#中仅从服务器获取未读邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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