不使用浏览器与邮件服务器通信 [英] Talking to mail server without using browser

查看:119
本文介绍了不使用浏览器与邮件服务器通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个PHP应用程序,它抓取来自给定电子邮件服务器的所有电子邮件(Offcourse提供用户名和密码)。我只有

能够借助pop3协议从私人公司电子邮件服务器获取电子邮件。我已经为此目的使用了pop3类。但是同样的脚本不适用于雅虎和hotmail。我收到无效的用户名/密码错误信息。


请帮帮我怎么做?我不想坚持使用pop3,任何有效的解决方案都可以。

I am working on an application in PHP which grabs all the emails from the given email server (Offcourse providing username and password). I have only
been able to grabs email from private company email servers with the help of pop3 protocol. I have used pop3 class for that purpose. But the same script is not working for yahoo and hotmail. I receive "Invalid username/password" error message.

Please help me how do i do this? I don''t want to stick to pop3, any solution that works will do.

推荐答案

Yahoo和Hotmail不能使用pop3。事实上,没有免费的邮件服务提供。

此外,雅虎和hotmail永远不会让你以这种方式与他们的邮件服务器交谈,即使通过其他协议。如果你可以在没有查看他们的网站的情况下获取你的邮件,谁会为广告支付费用?


这些知名电子邮件服务提供商的付费电子邮件服务为您提供pop3访问权限。这是为了你可以使用 thunderbird outlook express
Yahoo and Hotmail don''t work on pop3. In fact, no free mail service offers that.
Moreover, Yahoo and hotmail would never let you talk to their mail servers in that way, even through some other protocol. If you could fetch your mails without viewing into their website, who''s gonna pay them for ads?

Paid email services on these well known email service providers give you pop3 access. That''s designed so that you could use thunderbird or outlook express.


谢谢hsriat,所以你说没有方式我可以使用PHP访问我的免费雅虎帐户
Thanks hsriat, so you say that there is no way i can access my free yahoo account using PHP


字面方式。


这篇关于不使用浏览器与邮件服务器通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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