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. How are they doin开发者_如何学编程g it? Can I do it too, using PHP?
The Google Contacts Data API allows you to own your own contact data. We expect the API to be useful for a big range of applications. For example, developers can use it to:
- Import a user's Google contacts into their web or desktop application
- Export their application's contact list to 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. Here is sample example howto do this for gmail. Yahoo should be similer if not same.
http://davidwalsh.name/gmail-php-imap
Hope that helps. Cheers
Edit: Got questions wrong.sry
You can use libgmailer for accessing Gmail in PHP
Use the google contacts API.
ContactGrabber looks like it should work for GMail, Yahoo, Hotmail and other services.
A PHP API for retrieving Mail From Yahoo, GMail, Hotmail
精彩评论