Skip to main content

Support Article

Connection error using NTLM account authorization

SA-46608

Summary



Set up an Outbound Email account as per installation document:

https://pdn.pega.com/installing-pega-autonomic-event-services-73/installing-pega-autonomic-event-services-73

When testing connectivity, the server indicated that the authentication credentials for this Email Account are incorrect.


Error Messages



javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:914)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:825)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:730)
at javax.mail.Service.connect(Service.java:366)
at javax.mail.Service.connect(Service.java:246)
at com.pegarules.generated.SendEmailMessage_071031_ZpM7Yf_ZOTj7Qbqkpr8DPA.SendEmailMessage07_10_31(SendEmailMessage_071031_ZpM7Yf_ZOTj7Qbqkpr8DPA.java:371)


Debug In Test Connection:
Debugging Information
Date and time
11/1/17 11:28 AM
Details
DEBUG: setDebug: JavaMail version 1.5.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "your_exchange_server", port 25, isSSL false
220 your_exchange_server Microsoft ESMTP MAIL Service ready at Wed, 1 Nov 2017 11:28:28 -0400
DEBUG SMTP: connected to host "your_exchange_server", port: 25

EHLO your_server
250-your_exchange_server Hello [your_ip]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW
DEBUG SMTP: Found extension "SIZE", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "X-ANONYMOUSTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "NTLM"
DEBUG SMTP: Found extension "X-EXPS", arg "GSSAPI NTLM"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "BINARYMIME", arg ""
DEBUG SMTP: Found extension "CHUNKING", arg ""
DEBUG SMTP: Found extension "XEXCH50", arg ""
DEBUG SMTP: Found extension "XRDST", arg ""
DEBUG SMTP: Found extension "XSHADOW", arg ""
DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM XOAUTH2
DEBUG SMTP: mechanism LOGIN not supported by server
DEBUG SMTP: mechanism PLAIN not supported by server
DEBUG SMTP: mechanism DIGEST-MD5 not supported by server
DEBUG SMTP: Using mechanism NTLM
DEBUG NTLM: type 1 message: 4E 54 4C 4D 53 53 50 00 01 00 00 00 03 A2 00 00 00 00 00 00 26 00 00 00 06 00 06 00 20 00 00 00 4F 53 53 41 45 53
DEBUG SMTP: AUTH NTLM command trace suppressed
DEBUG NTLM: type 3 message: 4E 54 4C 4D 53 53 50 00 03 00 00 00 18 00 18 00 98 00 00 00 18 00 18 00 B0 00 00 00 00 00 00 00 40 00 00 00 4C 00 4C 00 40 00 00 00 0C 00 0C 00 8C 00 00 00 00 00 00 00 C8 00 00 00 01 82 00 00 41 00 45 00 53 00 5F 00 4F 00 53 00 53 00 5F 00 4E 00 6F 00 74 00 69 00 66 00 69 00 63 00 61 00 74 00 69 00 6F 00 6E 00 73 00 4E 00 6F 00 52 00 65 00 70 00 6C 00 79 00 40 00 63 00 6F 00 6E 00 65 00 64 00 2E 00 63 00 6F 00 6D 00 4F 00 53 00 53 00 41 00 45 00 53 00 B7 83 6E 11 52 5F 6B BE B2 C7 7D 79 85 F8 15 61 87 9D 6B B0 1B BE F5 63 E6 CA 5C B4 E0 AD 7F B6 F7 88 13 8A 34 C3 1B 76 BC 75 82 F7 AE 34 CD 40
DEBUG SMTP: AUTH NTLM failed





Steps to Reproduce



1. Set up Autonomic Event Services (AES) outbound email.
2. Test connectivity.


Root Cause



A defect or configuration issue in the operating environment A Domain user with access to the exchange server must be specified along with a password.


Resolution



Make the following change to the operating environment:

Provide a valid the domain user id and password in Email Account Rule form to use.
Suggest Edit

Published November 3, 2017 - Updated February 9, 2018

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us