当Gmail以编程方式用作POP3服务器时,Gmail展示了哪些非标准行为功能? [英] What non-standard behaviour features does Gmail exhibit, when it is programmatically used as a POP3 server?

查看:119
本文介绍了当Gmail以编程方式用作POP3服务器时,Gmail展示了哪些非标准行为功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图准备Gmail POP3所展示的完整行为列表,您不希望在POP3服务器中发现这些行为。



例如, Gmail似乎忽略来自POP3客户端的DELE(删除)命令。相反,它实现了自己的删除和归档策略。



准备列表的目的是为了避免开发人员根据Gmail POP3服务器测试POP3客户端,然后假设所有POP3服务器的行为方式与此相同。



任何人都可以提供更完整的非标准行为列表吗?




  • 解决方案

我不能拿出一个完整的列表,但我可以随我所知: >获取一封电子邮件会将其从所有后来的POP3会话中隐藏,除非您重置Gmail的pop3设置(再次设置它们)。

更确切地说:我发现这只会发生在RETR命令中。不是TOP命令。我还注意到,如果在发出RETR命令后没有发送QUIT命令,则这些消息将保留在服务器上供以后的会话使用。因此可以获取消息并关闭连接,并且Gmail会保留消息在下一个会话中可见。

  • 取决于您的gmail设置,可以从中删除提取的电子邮件您的gmail网络界面。

  • 在用户名前面登录一个特殊的recent:会显示过去30天内收到的电子邮件,无论发送到另一个POP3客户端已知。



  • 这些是我对gmail pop3服务的唯一非标准行为。我作为 OpenPop.NET 的开发人员收集的大部分信息。



    可能有用的参考资料:


    I am trying to prepare a complete list of behaviour that Gmail POP3 exhibits, that you wouldn’t expect to generally find in a POP3 server.

    For example, Gmail appears to ignore the DELE (delete) command from a POP3 client. Instead, it implements its own delete and archive strategy.

    The purpose of preparing a list is to avoid developers testing a POP3 client against the Gmail POP3 server and then assuming that all POP3 servers behave in the same way.

    Can anyone provide a more complete list of non-standard behaviour?

    解决方案

    I cannot come with a complete list, but I can come with what I know of:

    • Fetching an email will hide it from all later POP3 sessions unless you reset your gmail pop3 settings (sets them again).
      To be more precise: I found out that this happens with the RETR command only. Not the TOP command. I also noticed that if the QUIT command is not sent after issuing RETR commands, the messages are kept on the server for later sessions. It is therefore possible to fetch the messages and just close the connection, and gmail will keep the messages visible for the next session.
    • Depending on your gmail settings, a fetched email can be deleted from your gmail web interface as well.
    • Logging in with a special "recent:" in front of your username will show emails received in the last 30 days, regardless of being sent to another POP3 client already.

    Those are the only non-standard behaviour I know about the gmail pop3 service. Most of this information I have gathered while being a developer for OpenPop.NET.

    References that might be of use:

    这篇关于当Gmail以编程方式用作POP3服务器时,Gmail展示了哪些非标准行为功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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