Hi, Well, the error method invokes on the ErrorHandler implementation will contain a message and possibly an exception which is the root cause. You can introspect those as you see fit.
Yoav Shapira http://www.yoavshapira.com >-----Original Message----- >From: None None [mailto:[EMAIL PROTECTED] >Sent: Monday, November 29, 2004 10:38 AM >To: [EMAIL PROTECTED] >Subject: RE: IMAP appender? > >Ok that fine bassically I just want to know at least if there is an >exception caught like trying to open the connection to the SMTP server in >cases where SMTP host is misspelled or there might have been a network drop >etc... > >>From: "Shapira, Yoav" <[EMAIL PROTECTED]> >>Reply-To: "Log4J Users List" <[EMAIL PROTECTED]> >>To: "Log4J Users List" <[EMAIL PROTECTED]> >>Subject: RE: IMAP appender? >>Date: Mon, 29 Nov 2004 10:32:41 -0500 >> >> >>Hi, >> >> >Ok I know there is no way with SMMTP to guarantee that there was an >>e-mail >> >sent... But with this error handler I will be able at least to detect >> >whther >> >at least the SMTP server was down? >> >>You would know that an SMTP error occurred. You wouldn't know >>specifically its cause, such as SMTP server down, or SMTP authentication >>failed. You would log to a file (or other mechanism that's more >>reliable than SMTP) the original exception as well as another message >>saying you failed to send the SMTP message. >> >>Yoav >> >> >> >>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: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> > >_________________________________________________________________ >Powerful Parental Controls Let your child discover the best the Internet >has >to offer. >http://join.msn.com/?pgmarket=en- >ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Mark et_M >SNIS_Taglines > Start enjoying all the benefits of MSN(r) Premium right now and get the >first two months FREE*. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
