see org.apache.log4j.net.SMTPAppender. No sourcecode is needed. You do, however, need to have an implementation of the JavaMail API in the classpath for it to work. A reference implementation can be found at the javasoft website.
Hope this helps. -- Thomas | -----Original Message----- | From: Mary Hill [mailto:[EMAIL PROTECTED]] | Sent: 31 October 2001 14:00 | To: [EMAIL PROTECTED] | Subject: examples of logging with email | | | Does someone have examples of the properties file and source code to | have your log errors emailed? | | ************************************************************************* Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved. Confidential. No liability whatsoever is accepted for any loss or damage suffered as a result of accessing this message or any attachments. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>