perl – POP3是否区分已读和未读消息

前端之家收集整理的这篇文章主要介绍了perl – POP3是否区分已读和未读消息前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用Perl并使用Net :: POP3 …

我的代码能够获取所有邮件但是我在文档中找不到可以区分已读和未读邮件的任何方法.

IMAP这样做,所以我想知道POP3是否同样适用?

Net :: POP3中的PS :: ping()方法未列为Net :: POP3的功能

解决方法

使用POP3时,无法区分读取或未读取.它只能获取删除消息.如果客户端获取新消息,则客户端(其自身记忆)尚未获取的所有消息都被客户视为新消息.服务器不关心消息的状态.它只是给你所有的消息.

Wikipedia开始:

POP supports simple download-and-delete requirements for access to remote mailBoxes (termed maildrop in the POP RFC’s).[3] Although most POP clients have an option to leave mail on server after download,e-mail clients using POP generally connect,retrieve all messages,store them on the user’s PC as new messages,delete them from the server,and then disconnect. Other protocols,notably IMAP,(Internet Message Access Protocol) provide more complete and complex remote access to typical mailBox operations.

猜你在找的Perl相关文章