从hotmail下载邮件
我想编写从 hotmail 下载邮件的脚本。
Gmail 和 Hotmail 都允许通过端口 995 上的安全 POP 进行访问。
我的脚本在 Gmail 上运行良好...但是在我将线路发送到 Hotmail
USER [电子邮件受保护]
我没有收到回复。
我安装了 Windows Live Mail,它显然能够下载我的 hotmail 邮件。
- 有没有办法跟踪 SSL,以便我可以看到我做错了什么?
- 除了来自客户端的 USER 消息之外,hotmail 是否还期待其他内容?
这是来自 REBOL shell 的示例代码。
>> pop: open/lines ssl://pop3.live.com:995
>> set-modes pop [secure: true]
>> pick pop 1
== "+OK BLU0-POP295 POP3 server ready"
>> insert pop "USER [email protected]"
>> pick pop 1
== none
I want to script the download of messages from hotmail.
Both Gmail and Hotmail allow access by secure POP on port 995.
My script works fine with Gmail ... but after I send the line to Hotmail
USER [email protected]
I don't get a response back.
I installed Windows Live Mail and that is clearly able to download my hotmail messages.
- Is there a way to trace SSL so I can see what I am doing wrong?
- Is hotmail expecting something else apart from the USER message from the client?
This is sample code from the REBOL shell.
>> pop: open/lines ssl://pop3.live.com:995
>> set-modes pop [secure: true]
>> pick pop 1
== "+OK BLU0-POP295 POP3 server ready"
>> insert pop "USER [email protected]"
>> pick pop 1
== none
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不是 rebol 专家,但您可能需要在 USER 命令行末尾包含 \r\n 以便通知 POP 服务器您已完成发送输入。 我猜服务器仍在等待您发送更多信息或结束线路。
I'm not a rebol expert but you may need to include \r\n at the end of USER command line in order to notify the POP server that you're done sending input. I'd guess the server is still waiting for you to send more information or end the line.