I haven't used Log4J to send e-mail to a server that requires authentication. I don't know if the following article will help or not.
http://www.onjava.com/pub/a/onjava/2004/09/29/smtp-logging.html You could always setup a local SMTP server on your machine and use that. http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSMTP Matt On 12/5/06, kkus <[EMAIL PROTECTED]> wrote:
When I use sbc yahoo's SMTP I need provide authentication to connect to their email server. When I take a look at log4j.properties, I am confused since I can't see where I can provide password when I need send log out to my account. Do I need password in this case and where to put it? Thanks! # Configuration for receiving e-mails when ERROR messages occur. log4j.appender.mail=org.apache.log4j.net.SMTPAppender [EMAIL PROTECTED] log4j.appender.mail.From=AppFuse <[EMAIL PROTECTED]> log4j.appender.mail.SMTPHost=localhost log4j.appender.mail.Threshold=ERROR log4j.appender.mail.BufferSize=1 log4j.appender.mail.Subject=[localhost] appfuse Application Error -- View this message in context: http://www.nabble.com/password-required-when-emailing-log-thru-SMTP--tf2762615s2369.html#a7702352 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com
