I am trying to configure SMTPAppender properties of Log4j to send email through my MS outlook client.
I am able to send the mails for exceptions through Gmail account. But dont know about outlook configuration properties.
Sunny Kumar Kalra wrote:I dont think so that I can access exchange server , as I am working in a organization and they might have firewalls to prevent access.
You (presumably!) access the Exchange server all day long - unless they're using something other that Exchange to handle the corporate email.
Your log should be sent to the mailserver, whose address can be provided by one of your local network support people, along with any userid/password you might optionally need. The "To" address of that mail would be the email address of the log's recipent. The app being logged thus sends the log to the mailserver, and the recipient uses MS Outlook (or some other mail Client) to retrieve the log email from the mailserver just like they would any other email.
An IDE is no substitute for an Intelligent Developer.