Is there any way to send an email using Java log4j via an exchange server that only allows NTLM-based authentication?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The default appender relies just on SMTP auth, so it won’t make it by itself. You could create a custom email appender as stated here (linked just to state who shared the idea first, it’s not mine). It basically creates the appender where Authentication is done
And then, in the config file,
**EDIT: Sometimes helpful gets mixed with “laziness-supportive”. Hence, here’s a apache-licensed implementation of NTLM auth. http://code.google.com/p/ntlm-java/ Hope it works fine.