Get email contact lists

Hello.  I have a site where I want to set up a form to type in your account username or email address and password to be able to retrieve the contact list for that email address.  Needs to be able to work with Gmail, Yahoo, Hotmail, and maybe some other email providers.  This will be used to be able to share ads posted on the website.  For example, I post an ad and want to share it with all of my Gmail contacts.  Need to be able to input my Gmail account information, retrieve the contact list, and send out an email to each person sharing my newly posted ad with them.  The site is written in ColdFusion.  Is there a way that this can be done?  Thanks!
varimerewebAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

azadisaryevCommented:
if you do not want your site to be marked as suspicious/dangerous phishing scam by google (and likely other search engines as well), then you will not implement this feature, not the way you are thinking about it.

this is the fist recommendation from a recent post on google webmaster central blog:
"- Don’t ask for usernames and passwords that do not belong to your site. We consider this behavior phishing by definition, so don’t do it! If you want to provide an add-on service to another site, consider using a public API or OAuth instead."

you can read the full post here:
http://googlewebmastercentral.blogspot.com/2010/03/will-real-site-here-please-stand-up.html

so instead of asking for usernames/passwords to email accounts, you need to implement the services' API for accessing contacts details, or, if the service supports it, OAuth authentication instead.
there are a lot of examples on the web for pretty much all services, plus most of them have APIs you can implement. just search for "[servicename] contacts api".

here are a couple:
http://code.google.com/apis/contacts/
http://developer.yahoo.com/social/contacts/
http://dev.live.com/contacts/

but definitely do not ask for usernames/passwords for services that you do not provide!

Azadi
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gurpreet Singh RandhawaCEOCommented:
Well Yeah! Azadi is right!

If you wanna go for authentication of different websites!

you can have a look at googlecontact by ray Camden at riaforge.org website!

0
AndyBeardCommented:
Gigya is a platform used for this purpose by many social sites such as Slideshare

http://www.gigya.com/

Previously Octazen was a great solution, but they were recently acquired

Maybe there is something you could do just using the addtoany widget, as that uses the APIs as well

There are many options which use account scraping, but as I have been highly vocal against these scripts as it is a security risk for users (and a business risk for those with domains, adsense, adwords etc), I am not even going to mention them.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Internet Marketing

From novice to tech pro — start learning today.