• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to retrieve/fetch emails addres from yahoo,hotmail

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks sir
can you please tell me how can i get code regarding this
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic