0

I am sweating since 3 days to import the address book from gmail, yahoo aol and hotmail. The user will login to web app and he will create an event and he should share the event details in the form of HTML mail with his friends, he should able to import contacts from gmail yahoo aol and hotmail and then send the email.Is there any free API available or plug in, its a javascript based web app and I am using servlets and mysql. Should I save all the email addresses in my database before sending the mail? I tried socialauth, but I am not able to integrate with my web app.

Kindly help me since I am novice to web application development.

Jeevan Dongre
  • 4,627
  • 13
  • 67
  • 129

3 Answers3

2

It is very much possible to import contacts from gmail, yahoo and hotmail. The privacy restrictions are solved by first redirecting the user to the actual provider, for example the gmail website - and the user authenticates there and is then redirected back to your application. Hence a user NEVER enters his other passwords on your web app.

Do have a look at this demo of socialauth. http://opensource.brickred.com/socialauthdemo/

If you think this is something what you are trying to do, please feel free to file a specific issue regarding the problem you faced in integrating.

Tarun Nagpal
  • 964
  • 1
  • 9
  • 25
  • Thank you Mr Tarun I am using the same social auth library, but I am novice to struts. If you dont mind I will keep posting my issues here as and when I come across. – Jeevan Dongre Mar 09 '11 at 04:11
  • @Tarun Nagapl : hello I just tried whole api, but I am not able to understand where is "action.do" file? Can u just help me – Jeevan Dongre Mar 09 '11 at 10:48
  • 1
    Hi Jeevan. Are you using struts or pure servlet application. So if you are using servlet then action.do is nothing but your servlet mapping or in struts it is action mapping which is given in your application struts config file. – Tarun Nagpal Mar 09 '11 at 12:04
  • thanks a lot tarun i am novice to struts i have copied the http://code.google.com/p/socialauth/source/browse/#svn%2Ftrunk%2FSocialAuthDemo content to my eclipse project, when i click on any of the icons the apache tomcat says "servlet action not available" can I have your email id if u dont mind? – Jeevan Dongre Mar 09 '11 at 12:38
  • Jeevan, you can post your issues on http://code.google.com/p/socialauth/issues/list. I'll give you reply over there. – Tarun Nagpal Mar 10 '11 at 11:03
1

I seriously, seriously doubt that those services are going to give anyone access to that data. It'd be a serious breech of privacy laws unless it was the account holder, and noone I hope is going to be STUPID enough to give their account names and passwords to some random website, opening themselves up to identity theft and leaving the email service to be used as a spam relay.

If such things exist, it'll be paid for services offered by the providers using some sort of secure web service interface and you should be able to find out about that by searching their websites.

jwenting
  • 5,505
  • 2
  • 25
  • 30
  • Let me explain u the scenario. there are many web applications which provides this, get the emailds from the email service provider and send the mail through my web app which consists of HTML page. – Jeevan Dongre Mar 08 '11 at 08:55
0

NOTE: "and noone I hope is going to be STUPID enough to give their account names and passwords to some random website, opening themselves up to identity theft and leaving the email service to be used as a spam relay."

You actually don't provide your password to the website. An authentication page pops up (belonging to the service being called) and it's then when you provide the password.

Pepito Fernandez
  • 2,352
  • 6
  • 32
  • 47