2016-11-02 1 views
0
다음

은 서버의 세부 내가 교환에 연결하기 위해 다음과 같은 자바 코드를 사용하고

mailbox_password = KexDa3P7hEtru        
    mailbox_domain = mail.lenderlive.com  
    mailbox_host= corp.lcl 
    mailbox_username = [email protected] 
    server_type = imap 
    port = 143 

를 연결하기 위해 노력하고있다 예외 "A1 NO LOGIN 실패"

2016-11-02 15:01:22,885 INFO [stdout] (http-/0.0.0.0:80-1) DEBUG: setDebug: JavaMail version 1.4ea 
    2016-11-02 15:01:22,888 INFO [stdout] (http-/0.0.0.0:80-1) DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc] 
    2016-11-02 15:01:22,899 INFO [stdout] (http-/0.0.0.0:80-1) DEBUG: mail.imap.fetchsize: 16384 
    2016-11-02 15:01:22,899 INFO [stdout] (http-/0.0.0.0:80-1) DEBUG: disable AUTH=PLAIN 
    2016-11-02 15:01:22,910 INFO [stdout] (http-/0.0.0.0:80-1) * OK The Microsoft Exchange IMAP4 service is ready. 
    2016-11-02 15:01:22,913 INFO [stdout] (http-/0.0.0.0:80-1) A0 CAPABILITY 
    2016-11-02 15:01:22,915 INFO [stdout] (http-/0.0.0.0:80-1) * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+ 
    2016-11-02 15:01:22,915 INFO [stdout] (http-/0.0.0.0:80-1) A0 OK CAPABILITY completed. 
    2016-11-02 15:01:22,915 INFO [stdout] (http-/0.0.0.0:80-1) IMAP DEBUG: AUTH: NTLM 
    2016-11-02 15:01:22,915 INFO [stdout] (http-/0.0.0.0:80-1) IMAP DEBUG: AUTH: GSSAPI 
    2016-11-02 15:01:22,916 INFO [stdout] (http-/0.0.0.0:80-1) IMAP DEBUG: AUTH: PLAIN 
    2016-11-02 15:01:22,922 INFO [stdout] (http-/0.0.0.0:80-1) DEBUG: protocolConnect login, host=mail.lenderlive.com, [email protected], password=<non-null> 
    2016-11-02 15:01:22,925 INFO [stdout] (http-/0.0.0.0:80-1) A1 LOGIN [email protected] KeDa3P7hEtru 
    2016-11-02 15:01:22,928 INFO [stdout] (http-/0.0.0.0:80-1) A1 NO LOGIN failed. 

사람이 도움을 주시기 바랍니다 수 및 예 : 여기

String domain = "mail.lenderlive.com"; 
    String user= "[email protected]"; 
    String password= "KexDa3P7hEtru"; 
    String serverType = "imap"; 

    Store store = null; 
    Properties properties = System.getProperties(); 
    Session session = Session.getDefaultInstance(properties); 
    session.setDebug(true); 
    store = session.getStore(serverType); 
    store.connect(domain, user, password); 

은 서버 내가 받고있다 추적하다 정확히 내가 뭘 잘못하고 있는거야?

답변