Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Hotmail Inbox

Yoo-Jin Lee
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get my INBOX from Hotmail's http server but am having much difficulty. Basically, I'm using the following:
String s = "";
URL url = new URL(s);
URLConnection connection = url.openConnection();
BufferedReader in = new BufferedReader(
new InputStreamReader(
String inputLine;
while ((inputLine = in.readLine()) != null) {
Then I replace s with :"" and do the whole thing again to get around Hotmail's first reply saying that I'm not using IE5 or Netscape equivalent.

The only problem with it is that the second reply produces a message saying that there is no cookies support. Could anyone suggest anyway to get around the no cookie support problem?
Or is there a better alternative to getting hotmail contents? I want to provide the inbox to people accessing my website.
Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic