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?

Bassically... I mistakenly mispelled the SMTP host and I wasn't getting my e-mails and nothing was being loged in the console or log files!

Thanks

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 09:25:16 -0500


Hi, There's no IMAP appender built into the log4j core that I'm aware of. You can write one ;)

You can define an ErrorHandler for an Appender.  It would be called if
the Appender fails.  See the org.apache.log4j.ErrorHandler JavaDoc for
more details.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message----- >From: None None [mailto:[EMAIL PROTECTED] >Sent: Friday, November 26, 2004 12:42 AM >To: [EMAIL PROTECTED] >Subject: IMAP appender? > >I need to gaurantee that my e-mail was sent to the mail server. It seems as >if SMTP appender does not dtect errors. > >So if my e-mail was not sent with the IMAP appender to fail over to file >and >console or something like that! > >Is there an IMAP appender? > >Thanks > >_________________________________________________________________ >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]


_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft� SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN� Premium right now and get the first two months FREE*.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to