connect to Exchange Server using IMAP NTLM without supply a password ?
843834Jul 28 2010 — edited Aug 7 2010hi,
I am working on a mail client using IMAP ... and we have ExchangeServer. There is a request now, that the users should not supply username and password to connect to the server?! I've take JavaMail 1.4.3. in order to use NTLM auth. So I connect following way(actually logon fail as described in this forum ).
props.put("mail.imap.auth.ntlm.domain", "true");
session = Session.getInstance(props, null);
store = session.getStore("imap");
store.connect(pMachine, pUser, pPassword);
but the question is Should it be possible at all (without password) ? which overloaded connect function should be used ?
any help appreciated