Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

how to retrieve/fetch emails addres from yahoo,hotmail  RSS feed

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends

any way we can retrieve the emails from yahoo , hotmail and gmail using java.

i have seen many places no code for these things..

please tell me the procedure urgent.
 
Marshal
Posts: 64494
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After 2½ years you doubtless know there is no such thing as "urgent"
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks sir
can you please tell me how can i get code regarding this
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

how can i get code regarding this


By writing it! What ideas have you had so far? Also, you've variously said that you want to retrieve mail addresses, and emails - which one is it?
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Friend,

Actually i have retrieved my contact list from gmail using the API they provided for java this one is ok for me

but yahoo and hotmail they are giving rest calls and which will really not gud to use

so can you tell me how can we get the hotmail and yahoomails contact or buddy list. please.
 
Ulf Dittmer
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

but yahoo and hotmail they are giving rest calls and which will really not gud to use


What does that mean? Which problems did you have using those APIs, specifically? JAVA supports REST just fine.
 
author
Posts: 23832
140
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that is how facebook, linkedin, etc. do it -- this crawl the page, log in, and fetch the address book, as if it was a real person. You can accomplish the same thing with the URL or HttpClient class.

Henry
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there's a REST API for doing this I'm not sure why you wouldn't just use that.

Yahoo also has POP/SMTP access, at least for premium accounts.
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok Thanks friends , really valuable information.

i have doubts

if i use rest calls then

1. they give the Http url , for authentication purpose we will be using these http URL, then they response with html full code from there we will retrieve some authentication key,
with this key we have to make other service calls to servers for retrieving contact list rite.

so. if above procedure is correct

Is there any chance in future these http URLS will be changed by the respective Mail Servers or any chance that the response what these servers sending will be changed , if YES how to coupe it ?


Since our is web application and once started we can't stop the whole application.

So that is my main worry ,

Is my above assumption wrong . can please help me where i can get the code for rest call. (yahoo , hotmail and aol)

or any alternative method.
 
Ulf Dittmer
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there any chance in future these http URLS will be changed by the respective Mail Servers or any chance that the response what these servers sending will be changed , if YES how to coupe it ?


Of course there's a chance it'll change - change is part of life. There are various ways to make code changes possible without web app restarts: Maybe use a scripting language for the implementation that allows you to upload a new script file which will be used from that point on, or look into something like OSGi for reloading the relevant code at runtime.

can please help me where i can get the code for rest call. (yahoo , hotmail and aol)


Don't those sites have documentation and example code?
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup they have i will go through.

thank you very for you help

ok so i have see new methods to reset the url if they change

thank you very much.

 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!