Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hotmail through javamail

Daniel O'Sullivan
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for some help with accessing hotmail mail through the
javamail api. I can get normal imap4 and pop3 accounts to work,
but hotmail always returns an AuthenticationFailedException.
here's the code i use:
Properties props = System.getProperties();
Session session = Session.getInstance(props);
Store store = null;
Folder f = null;
store = new POP3Store(session, new URLName(host));
store.connect(host, user, passwd);
Anyone with any ideas or code snippets would be greatly welcomed!
PS. in outlook it classifys hotmail as a HTTP server, is this more microsoft bullshit or does it actually mean something?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic