我目前正在编写一个网络邮件客户端,作为一个更大项目的一部分。
我只需要一个快速参考和/或指向有关 POP3 消息的正确方向的指针,因为我必须解析它们。
我不想为此使用可用的库。 我只需要知道是否有一些内容我可以阅读以了解消息中的内容。
谢谢!
[精确编辑:] 我在这里真正谈论的是单个消息的语法。 有“From”字段和“To”字段,以及许多其他字段,例如 Mime-Type 等,我想知道是否有文档指定成功的 RETR 命令发送回的内容。
[附录] 除了 RFC 1939 之外,人们可能还想查找 RFC 822。
I'm currently coding, as the part of a bigger project, a webmail client.
I'd just need a quick reference and/or pointer towards the right direction about POP3 messages, as I'll have to parse them.
I don't want to use available libraries for this. I just need to know if there is something I can read to understand what to expect in a message.
Thanks!
[Precision Edit:] I'm really talking about a single message's syntax, here. There are "From" fields, and "To" fields, and many other fields, like Mime-Type and stuff, and I want to know if there is a doc somewhere that specifies what is sent back on a successful RETR command.
[Addendum] One might want to look up RFC 822 in addition to RFC 1939.
发布评论
评论(1)
RFC 位于此处
和 这里有关于该主题的 java 教程。
The RFC is here
And here's a java tutorial on the subject.