简体   繁体   English

从收件箱中检索电子邮件地址

[英]retrieve email address from inbox

Services as linkedin, facebook, etc, can import email addresses(contacts) from my Inbox if I provide my gmail/yahoo password. 如果我提供我的gmail / yahoo密码,作为linkedin,facebook等的服务可以从我的收件箱导入电子邮件地址(联系人)。 How are they doing it? 他们是怎么做到的? Can I do it too, using PHP? 我也可以使用PHP吗?

The Google Contacts Data API allows you to own your own contact data. Google通讯录数据API允许您拥有自己的联系人数据。 We expect the API to be useful for a big range of applications. 我们希望API可用于各种应用程序。 For example, developers can use it to: 例如,开发人员可以使用它来:

  • Import a user's Google contacts into their web or desktop application 将用户的Google联系人导入其网络或桌面应用程序
  • Export their application's contact list to Google 将其应用程序的联系人列表导出到Google
  • Write sync applications for mobile devices or popular, desktop-based contact management applications 为移动设备或基于桌面的流行联系人管理应用程序编写同步应用程序

Yes you can. 是的你可以。 You need imap extension to make your live easier. 你需要imap扩展来让你的生活更轻松。 Here is sample example howto do this for gmail. 以下是如何为gmail执行此操作的示例示例。 Yahoo should be similer if not same. 雅虎应该是similer,如果不相同。

http://davidwalsh.name/gmail-php-imap http://davidwalsh.name/gmail-php-imap

Hope that helps. 希望有所帮助。 Cheers 干杯

Edit: Got questions wrong.sry 编辑:提出错误的问题

您可以使用libgmailer在PHP中访问Gmail

使用Google通讯录API

ContactGrabber looks like it should work for GMail, Yahoo, Hotmail and other services. ContactGrabber看起来应该适用于GMail,Yahoo,Hotmail和其他服务。

A PHP API for retrieving Mail From Yahoo, GMail, Hotmail 用于从Yahoo,GMail,Hotmail检索邮件的PHP API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM