This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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.
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
Joined: Mar 22, 2007
Posts: 102
posted
0
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
Marshal
Joined: Mar 22, 2005
Posts: 35439
9
posted
0
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
Joined: Mar 22, 2007
Posts: 102
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: how to retrieve/fetch emails addres from yahoo,hotmail