Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java App won't authenticate email against Exchange03 server

Status
Not open for further replies.

mholbert

IS-IT--Management
Jan 10, 2006
105
US
Does anyone have any experience getting a Java app to authenticate against an Exchange03 server?

I have a small command-line app that will not auth. The debug info is below. I changed the names to protect the innocent.

Any help is much appreciated.

Thanks, MH

EmailSender: Start
DEBUG: setDebug: JavaMail version 1.4ea
Session: Established
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc]
Transport: Established
EmailSender: End
createMessage: Start
Return
sendMessage: Start
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "192.168.30.10", port 25, isSSL false
220 email.int.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 read
y at Fri, 20 Oct 2006 11:09:20 -0500
DEBUG SMTP: connected to host "192.168.30.10", port: 25

EHLO lunch
250-email.int.domain.com Hello [192.168.30.39]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
DEBUG SMTP: Found extension "TURN", arg ""
DEBUG SMTP: Found extension "SIZE", arg ""
DEBUG SMTP: Found extension "ETRN", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "8bitmime", arg ""
DEBUG SMTP: Found extension "BINARYMIME", arg ""
DEBUG SMTP: Found extension "CHUNKING", arg ""
DEBUG SMTP: Found extension "VRFY", arg ""
DEBUG SMTP: Found extension "X-EXPS", arg "GSSAPI NTLM LOGIN"
DEBUG SMTP: Found extension "X-EXPS=LOGIN", arg ""
DEBUG SMTP: Found extension "AUTH", arg "GSSAPI NTLM LOGIN"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg ""
DEBUG SMTP: Found extension "X-LINK2STATE", arg ""
DEBUG SMTP: Found extension "XEXCH50", arg ""
DEBUG SMTP: Found extension "OK", arg ""
DEBUG SMTP: Attempt to authenticate
AUTH LOGIN
334 VXNlcm5hbWU6
bHJkYzAxXGFkbWluaXN0cmF0b3I=
334 UGFzc3dvcmQ6
c2E=
535 5.7.3 Authentication unsuccessful.
sendMessage Transport Error: null
sendMessage: End


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top