用C#接收电子邮件 [英] Receiving Emails in C#

查看:133
本文介绍了用C#接收电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我目前正在使用mailclient检索单个电子邮件地址中的所有电子邮件,并将它们放入数据库中.现在,我遇到了这段代码项目文章: Des pop3客户端 [ ^ ].它确实运作良好,只是在尝试检索已回复并在MS Outlook中转发了某些邮件的电子邮件时,我最终遇到了一个错误.

原来找不到边界(分隔邮件部分的边界),因为其中一个邮件部分中有一封电子邮件,导致读者必须递归读取邮件部分,而在本项目中则不是这种情况.

现在对你们来说,有什么办法可以解决这个问题?也许其他示例项目?

Hi,

I''m currently working on a mailclient to retreive all emails of a single email-adres and put them in the database. Now I came upon this codeproject article: Des pop3 client[^]. It works really well, only I ended up with a error while trying to retreive a email that was replied and forwarded some in MS Outlook.

Turns out the boundary(the thing that separates the mailparts) cannot be found because there was a email inside one of the mailparts, causing the reader to have to read the mailparts recursive, which is not the case in this project.

Now for you guys, is there any way to solve this? Maybe some other example-project?

推荐答案

您确实需要提供更多信息.您可以向作者致辞:加载本文页面并查看最后一节评论和讨论",使用添加评论或问题"提出您的问题.作者将收到电子邮件通知,并进行更改以将其整理出来,但我建议您提供全面的问题报告以及有关重现步骤的足够信息.

—SA
You really need to provide more information. You can address the author: load the page of this article and see the last section, "Comments and Discussions", use "Add a Comment or Question" to ask your question. The author will get e-mail notification and a change to sort it out, but I would advise you to provide comprehensive issue report and sufficient information on the steps to reproduce it.

—SA


这篇关于用C#接收电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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