使用POP3Client在C#中解析电子邮件 [英] Parsing Emails in C# using POP3Client

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

问题描述

每位用户都会将电子邮件转发给其他用户: -



User1 - > User2 - > User3 - > User4



如何在C#中从pop3客户端检索原点(User1)







提前致谢。

Each user forwards the email to the other user like this:-

User1 -> User2 -> User3 -> User4

How do I retrieve the origin (User1) from pop3 client in C#



Thanks in advance.

推荐答案

不,这不是电子邮件标题的一部分因此无法建立可靠的机制。

当您转发邮件时,邮件客户端通常会向主题行添加FWD:或类似内容(可以本地化:WG) ),它可以将一些标题(FROM,TO,DATE,SUBJECT)的人类可读表示添加到消息正文中。请注意:也可能是本地化的......
No, that's not part of the email headers, and thus a reliable mechanism cannot be established.
When you forward a message, the mail client typically adds a "FWD: " or something like that to the subject line (can be localized: "WG"), it may add a human-readable representation of some headers (FROM, TO, DATE, SUBJECT) to the message body. And note: also that may be localised...


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

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