Howdy,
The email happens "automatically" ;)  What is the point of SMTPAppender
otherwise?  It hides all the javax.mail details from you.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Adams, Dick W [PCS] [mailto:DAdams07@;sprintspectrum.com]
>Sent: Friday, November 08, 2002 12:35 PM
>To: 'Log4J Users List'
>Subject: RE: How to configure SMTPAppender?
>
>
>Does the e-mail then happen automatically, or does one have to extend
>SMTPAppender?
>
>-----Original Message-----
>From: Sara Prigge [mailto:sprigge@;LTCG.com]
>Sent: Friday, November 08, 2002 11:32 AM
>To: 'Log4J Users List'
>Subject: RE: How to configure SMTPAppender?
>
>
>This is how I use it in my xml:
>
><appender name="email" class="org.apache.log4j.net.SMTPAppender">
>               <param name="Threshold" value="ERROR"/>
>               <param name="SMTPHost" value="99.9.9.9"/>
>               <param name="To" value="[EMAIL PROTECTED]"/>
>               <param name="From" value="[EMAIL PROTECTED]"/>
>               <param name="Subject" value="My email subject"/>
>               <param name="BufferSize" value="1"/>
>
>               <layout class="org.apache.log4j.PatternLayout">
>                       <param name="ConversionPattern"
value="%d{ABSOLUTE}
>(%F:%L) - %m%n"/>
>               </layout>
></appender>
>
>Hope that helps you!
>
>-----Original Message-----
>From: louis [mailto:louis@;allsofts.com]
>Sent: Friday, November 08, 2002 11:30 AM
>To: Log4J Users List
>Subject: How to configure SMTPAppender?
>
>
>Hello,
>
>    I want to configure SMTPAppender in my log4j.xml file, and anyone
tell
>me what is the syntax (tag)? I can't find any document talking about
the
>log4j xml structure.
>
>Regards,
>Louis
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:log4j-user-
>[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:log4j-user-
>[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:log4j-user-
>[EMAIL PROTECTED]>

This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>

Reply via email to