Boonlit Adipat wrote:
I am
trying to use log4j to send an email notification to an administrator if
errors occur in my system.

 What should be the value for the "SMTPHost" in the log4j.xml if my company
uses *Microsoft Exchange Server* as the email server.

That is a question to ask from
- system administrators providing you with the hardware & OS services
  for the server your application is running on
- mail system administrators

The correct response could even be "localhost", but don't use that
without FIRST checking with the people who maintain your infrastructure.
If you use it, and it "just works" now, it may be that it just happened
to work, and was never supposed be a supported solution - and at some
future moment you'll just find that what used to work doesn't work any
more. By asking first, you should get as supported solution, and much
better chances that you'll get notified if/when something changes
(possibly also requiring changes to your configuration).
--
..Juha

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to