RE: SMTPAppender not sending emails

2003-12-04 Thread Raziel Steinmetz
Sent: Thursday, December 04, 2003 6:12 PM To: 'Log4J Users List' Subject: RE: SMTPAppender not sending emails Sean, That would be my last resort, right now I'm just using the log4j.jar file without the source code files. BTW - I did noticed that if I set a wrong SMTPHost then I ge

RE: SMTPAppender not sending emails

2003-12-04 Thread Raziel Steinmetz
From: Sullivan, Sean C - MWT [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 6:06 PM To: 'Log4J Users List' Subject: RE: SMTPAppender not sending emails I recommend that you set a breakpoint in the SMTPAppender class and step through the code. -Sean > -Original M

RE: SMTPAppender not sending emails

2003-12-04 Thread Sullivan, Sean C - MWT
I recommend that you set a breakpoint in the SMTPAppender class and step through the code. -Sean > -Original Message- > From: Raziel Steinmetz [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 3:02 PM > To: 'Log4J Users List' > Subject: RE: SMTPAp

RE: SMTPAppender not sending emails

2003-12-04 Thread Raziel Steinmetz
MAIL PROTECTED] Sent: Thursday, December 04, 2003 5:57 PM To: 'Log4J Users List' Subject: RE: SMTPAppender not sending emails By default, the SMTPAppender buffers all LogEvent's in a cyclic buffer. It will send email messages when: 1) an ERROR LogEvent occurs 2) a FATAL LogEvent occur

RE: SMTPAppender not sending emails

2003-12-04 Thread Sullivan, Sean C - MWT
By default, the SMTPAppender buffers all LogEvent's in a cyclic buffer. It will send email messages when: 1) an ERROR LogEvent occurs 2) a FATAL LogEvent occurs DEBUG messages will NOT cause an email message. If you want different behavior, you will need to provide a c

SMTPAppender not sending emails

2003-12-04 Thread Raziel Steinmetz
Hello, I'm trying to use the SMTPAppender to send an email for error and fatal logging. The ConsoleAppender is working OK and I see all the messages on the console but for some reason I don't get any email. I turned on the log4j.debug to look for some kind of error - but nothing, al

Using SMTPAppender to attach files

2003-10-29 Thread Mandar Mangalvedhekar
Hi, Is it possible to attach files using SMTpAppender ? Thanks Mandar

SMTPAppender and subjects

2003-10-28 Thread Steve Mactaggart
Hey all, I have had the SMTPAppender working for months now, and I must say that it is working great.. What I was wondering is if there is a way to alter the subject of the email, based on the message logged?? What would be nice, would be to be able to add a PatternLayout as the subject name or

smtpappender

2003-10-08 Thread Jain, Siddharth (ODC - Satyam)
i am facing trouble configuring smtpappender. can someone help? Siddharth Jain GTS Web Services Merrill Lynch - Satyam ADC Satyam Technology Centre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: SMTPAppender and BufferSize.

2003-09-28 Thread Paul Smith
exceptions and stack traces, > I was under the impression that I could buffer events and have the > email contain more than one log entry in the email body. > > I get an email for every single log entry. Am I way off base? There are 2 important properties for SMTPAppe

SMTPAppender and BufferSize.

2003-09-27 Thread Jeff_Mychasiw
Greetings: I have what I hope to be a simple question. We are using the log4j implementation in JBoss 3.0.4. When I activate the SMTP Appender for ERROR level to send me an email for any exceptions and stack traces, I was under the impression that I could buffer events

RE: Configuring SMTPAppender in log4j.properties

2003-09-24 Thread Jain, Siddharth (ODC - Satyam)
Hi there, that is what i am presently doing, but is it possible to send out multiple mails? cheers siddharth -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 7:15 PM To: Log4J Users List Subject: RE: Configuring SMTPAppender in

RE: Configuring SMTPAppender in log4j.properties

2003-09-24 Thread Shapira, Yoav
Howdy, Search the list archives... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jain, Siddharth (ODC - Satyam) [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 24, 2003 9:35 AM >To: [EMAIL PROTECTED] >Subject: Configuring SMTPAppender in l

Configuring SMTPAppender in log4j.properties

2003-09-24 Thread Jain, Siddharth (ODC - Satyam)
Hi, I want to configure SMTPAppender so that I can send out mails to multiple addresses in case of all levels, that would be configurable. Any help in this regard would be appreciated. Thanks Siddharth Jain GTS Web Services Merrill Lynch - Satyam ADC Satyam Technology Centre

RE: SMTPAppender with a time limit?

2003-08-15 Thread Mark Womack
You could subclass SMTPAppender and have it set up a TimerTask object that will wake up every N minutes and send the current buffer of events if an email has not been sent within some threshold. You will need to have at least JDK 1.3 to use TimerTask. -Mark > -Original Message- >

SMTPAppender with a time limit?

2003-08-15 Thread Craig Berry
unsatisfactory, however. I proposed using SMTPAppender to do this instead. Collecting a group of errors before sending them out is trivial using BufferSize or a TriggeringEventEvaluator. What I can't figure out how to do is to send off an email if some amount of time has gone by with e

RE: SMTPAppender security flaw?

2003-06-13 Thread Scott Heaberlin
This might be a question better suited for the log4j-dev list than the log4j users list. [EMAIL PROTECTED] As a suggestion, you could submit a bug report requesting the SMTP appender (and perhaps the rest of log4j - it is up to you) only retrieve the exact properties they need, for security manag

SMTPAppender security flaw?

2003-06-13 Thread Phillip Qin
Having played around log4j under security manager, I found that method activateOptions in SMTPAppender has a "suspicious" security flaw. The first statement of the method is to System.getProperties. This forces me to grant read and write permission to * (all system properties) in policy

RE: SMTPAppender usage

2003-05-29 Thread Shapira, Yoav
>Sent: Wednesday, May 28, 2003 11:32 AM >To: [EMAIL PROTECTED] >Subject: SMTPAppender usage > >I am trying to use the SMTPAppender to a simple java program and get the >following error on the console, > > >Exception in thread "main" java.lang.NoClassDefFo

SMTPAppender usage

2003-05-29 Thread SreePradhip
I am trying to use the SMTPAppender to a simple java program and get the following error on the console, Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Multipart at java.lang.Class.getDeclaredConstructors0(Native Method)

SMTPAppender

2003-03-10 Thread win Patterson
Hi... How to make the SMTPAppender send mail not only when the error or fatal error happened. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Question on SMTPAppender

2003-02-07 Thread ramakrishna arni
"SEVERITY5", which is the base level for this logger. I notice that GeneralAppender (which writes to a flat text file) and HTMLAppender (which writes to a HTML file) work perfectly fine whereas the EmailAppender (which is of type SMTPAppender) does not send a mail. I know for sur

problem SMTPAppender with MDC ?

2003-02-07 Thread albert
MDC are not correct, they contain log info from different client sessions. Looking at the SMTPAppender source, it appears to us that the appender is not using the MDC at all, but only the NDC. Before I submit this as a bug, I would like to know if anyone knows this problem already or

RE: What jar(s) I need from Sun to do SMTPAppender

2003-01-16 Thread Thomas Muller
PROTECTED] | Subject: What jar(s) I need from Sun to do SMTPAppender | | | Hi, | | First time to use a SMTPAppender. I have downloaded javamail-1.3 and | specified smtp.jar and mailapi.jar in my classpath. | | My configuration is as following: | | log4j.appender.emailAppender

What jar(s) I need from Sun to do SMTPAppender

2003-01-16 Thread Wilfred Ho
Hi, First time to use a SMTPAppender. I have downloaded javamail-1.3 and specified smtp.jar and mailapi.jar in my classpath. My configuration is as following: log4j.appender.emailAppender=org.apache.log4j.net.SMTPAppender log4j.appender.emailAppender.Threshold=ERROR

SMTPAppender Exception printing

2002-12-30 Thread Steve Mactaggart
I'm sending error level messages to a support email address by using the SMTPAppender. When they come through the exceptions are not printing correctly. There are no breaks on each of the lines and so it makes the stack trace hard to read. Is there a patch or fix for this?? I'm u

Re: SMTPAppender for prim. and sec. Mail-Servers

2002-11-11 Thread Ricardo Moral
ssed back to my application so i > can't react on it, but > instead only printed into the console. > My code looks like this ... > > try > { > logger = Logger.getLogger(MailManager.class); > MyLogger.init("log4j.xml"); > > Sim

SMTPAppender for prim. and sec. Mail-Servers

2002-11-11 Thread DBade
is not passed back to my application so i can't react on it, but instead only printed into the console. My code looks like this ... try { logger = Logger.getLogger(MailManager.class); MyLogger.init("log4j.xml"); SimpleLayout layout = new SimpleLayout();

Re: How to configure SMTPAppender?

2002-11-08 Thread louis
GOT IT! Thank you very much to all of you! - Original Message - From: "Ricardo Moral" <[EMAIL PROTECTED]> To: "Log4J Users List" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 6:21 PM Subject: Re: How to configure SMTPAppender? > No this means

Re: How to configure SMTPAppender?

2002-11-08 Thread Ricardo Moral
et the mail. > Anywhere I did wrong? > > Louis > - Original Message - > From: "Ricardo Moral" <[EMAIL PROTECTED]> > To: "Log4J Users List" > <[EMAIL PROTECTED]> > Sent: Friday, November 08, 2002 5:59 PM > Subject: Re: How to

Re: How to configure SMTPAppender?

2002-11-08 Thread louis
Yes, I did the initialized, it work in FileAppender and DailyRollingFileAppender as well. Louis - Original Message - From: "Sara Prigge" <[EMAIL PROTECTED]> To: "'Log4J Users List'" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 6:00 PM

Re: How to configure SMTPAppender?

2002-11-08 Thread louis
" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 5:59 PM Subject: Re: How to configure SMTPAppender? > SMTPAppender will store all the logging events on an > internal cache and it will send all the messages when > the TriggeringEventEvaluator you set with the > setEv

RE: How to configure SMTPAppender?

2002-11-08 Thread Sara Prigge
al Message- From: louis [mailto:louis@;allsofts.com] Sent: Friday, November 08, 2002 11:59 AM To: Log4J Users List Subject: Re: How to configure SMTPAppender? Hi, No, I didn't c any error msg, and I only use one appender, not other appender in my config file except SMTPAppender.

Re: How to configure SMTPAppender?

2002-11-08 Thread Ricardo Moral
SMTPAppender will store all the logging events on an internal cache and it will send all the messages when the TriggeringEventEvaluator you set with the setEvaluatorMethod or the constructor parameter return true. By default the evaluator is set with an instance of DefaultEvaluator wich is a

Re: How to configure SMTPAppender?

2002-11-08 Thread louis
Hi, No, I didn't c any error msg, and I only use one appender, not other appender in my config file except SMTPAppender. Regards, Louis - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Log4J Users List" <[EMAIL PROTECTED]> Se

RE: How to configure SMTPAppender?

2002-11-08 Thread Shapira, Yoav
2 12:46 PM >To: Log4J Users List >Subject: Re: How to configure SMTPAppender? > >Thanks Sara, I try set the Threshold to DEBUG for testing, but I don't know >I still can't receive any email. > >regards, >Louis >- Original Message - >From: "Sara Pr

Re: How to configure SMTPAppender?

2002-11-08 Thread louis
riday, November 08, 2002 5:37 PM Subject: RE: How to configure SMTPAppender? > The way I use it, it happens automatically when I log something at the ERROR > level or above. > > -Original Message- > From: Adams, Dick W [PCS] [mailto:DAdams07@;sprintspectrum.com] > Sent:

RE: How to configure SMTPAppender?

2002-11-08 Thread Shapira, Yoav
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] >Sen

RE: How to configure SMTPAppender?

2002-11-08 Thread Sara Prigge
The way I use it, it happens automatically when I log something at the ERROR level or above. -Original Message- From: Adams, Dick W [PCS] [mailto:DAdams07@;sprintspectrum.com] Sent: Friday, November 08, 2002 11:35 AM To: 'Log4J Users List' Subject: RE: How to configure SM

RE: How to configure SMTPAppender?

2002-11-08 Thread Adams, Dick W [PCS]
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 us

RE: How to configure SMTPAppender?

2002-11-08 Thread Sara Prigge
: 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

How to configure SMTPAppender?

2002-11-08 Thread louis
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-unsubscribe@;jakarta.apache.org> For

SMTPAppender

2002-10-24 Thread Adams, Dick W [PCS]
I'm trying to get SMTPAppender to work, so far without success. My servlet logs a fatal error, but no e-mail is generated. Here's the relevant part of my log4j.xml (host & addresses changed to prot

SMTPAppender does not use fallback error handler when error occurs

2002-10-21 Thread Don McClean
I am using the SMTPAppender to email log info when an error occurs. I wrote my own TriggeringEventEvaluator to use with the SMTPAppender. I also specified a fallback appender. Normally everything works fine. However when our email system has a problem such as the mailserver being temporarily

RE: SMTPAppender only sends mail for error or above

2002-10-08 Thread Riho Bunder
in version 1.2.5 (and before ) you must implement own TriggeringEventEvaluator to send any level messages from SMTPAppender source : /** The default constructor will instantiate the appender with a {@link TriggeringEventEvaluator} that will trigger on events with level ERROR or

SMTPAppender only sends mail for error or above

2002-10-07 Thread Frissaer, Jeroen
Hi all, I'm playing with the SMTPAppender. I noticed that it only sends mail for the error level or above. Even when I set the threshold to "DEBUG". Is it possible to send mail for logging events with level debug or info? Thx Jeroen -- To unsubscribe, e-mail: <mailt

RE: SMTPAppender with VisualAge for Java

2002-09-10 Thread RUTHERFURD, Michael
11 September 2002 1:15 > To: Log4J Users List > Subject: RE: SMTPAppender with VisualAge for Java > > > > Michael, > > Thanks for your help. I went ahead and tried the PropertyConfigurator > instead of the DOMConfigurator. We will use the > DOMConfigurato

RE: SMTPAppender with VisualAge for Java

2002-09-10 Thread Matthew_Bennett/MO/americancentury
"RUTHERFURD, Michael" To: Log4J Users List <[EMAIL PROTECTED]>

RE: SMTPAppender with VisualAge for Java

2002-09-09 Thread RUTHERFURD, Michael
hael Rutherfurd > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 10 September 2002 2:11 > To: [EMAIL PROTECTED] > Subject: SMTPAppender with VisualAge for Java > > > I am wondering if anyone has configured an SMTPAppender

SMTPAppender with VisualAge for Java

2002-09-09 Thread Matthew_Bennett/MO/americancentury
I am wondering if anyone has configured an SMTPAppender using IBM's VisualAge for Java IDE. If you have, could you provide some tips on how you did it? We are using VAJ 4.0 and Log4J 1.2.3. We are also using a modified version of the "IBM XML Parser for Java" project which does

Problem sending only one line using SMTPAppender

2002-09-04 Thread Decker, Pascal
Hi, 1. I use a FileAppender to log to a file and a SMTPAppender to send fatal errors in an email. To filter, that only fatal errors will be sent in an email I wrote a custom class that implements TriggeringEventEvaluator. and I define the class in log4j.properties

SMTPAppender

2002-08-14 Thread Luc_Bell
Does Log4J spawn a seperate thread per message(log) I send the SMTPAppender? The reason I ask is what if my SMTP Server is down? Will Log4J appender wait until it times out to continue, or is it smart enough/robust enough to spawn a new thread upon each submittal? Luc -- To

SMTPAppender configuration

2002-07-22 Thread jerome gloaguen
I use a confi file, when I create a TriggeringEventEvaluator, needded by the SMTPAppender, I don't know how to configure the trigger value (number of messages to log in the email). Please help me.. ___ Do You Yahoo!? -- Une ad

Would you please give me a example of SMTPAppender

2002-07-10 Thread fish
Dear sir: Would you please give me a example of SMTPAppender£¬thank you ! CuiFang From ChangChun , China

SMTPAppender:505 Authentication required

2002-07-08 Thread Scherer Joachim, ITS-AKIS
Hi, I am using SMTPAppender. The program compiles well and when running gives me an error "javax.mail.MessagingException: 505 Authentication required" I am using log4j-1.2.4 on a Windows NT machine. The mailserver is Exchange. This is my prope

RE: Problems with SMTPAppender

2002-06-26 Thread Kn, Guruprasad (MED)
Thanks a lot Ceki. How do I set the Threshold of the SMTPAppender. Are you referring to BufferSize? Also, I noticed that the problem I specified goes away when I set the BufferSize to 1, but I also lost a few messages in the bargain. Can you please let me know why this happens? Is it an

Re: Problems with SMTPAppender

2002-06-26 Thread Ceki Gülcü
The triggering evaluator evaluates whether an email message should be sent or not. It does not influence whether an event is put on the cyclic buffer or not. If you want only ERROR messages or above, then you can set the Threshold of the SMTPAppender. At 13:35 26.06.2002 +0530, Kn

Problems with SMTPAppender

2002-06-26 Thread Kn, Guruprasad (MED)
Hi I am using the SMTPAppender and I face the following problem. I have written my own TriggeringEvaluator which restricts the number of mail that is sent within a particular period as well as based on the Level(which anyway the default evaluator also does). However I notice a strange problem

RE: How to use SMTPAppender

2002-06-13 Thread Xinjian Xue
:33 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: How to use SMTPAppender Hi, This is my first time to try the SMTPAppender. BY running the following code, I got all logs in a file. But no email and an error message pops up: log4j:ERROR Message object not configured. What that means? Thanks

How to use SMTPAppender

2002-06-13 Thread Xinjian Xue
Hi, This is my first time to try the SMTPAppender. BY running the following code, I got all logs in a file. But no email and an error message pops up: log4j:ERROR Message object not configured. What that means? Thanks. Yours Jack import org.apache.log4j.*; import org.apache.log4j.spi.*; import

Re: Problems with SMTPAppender

2002-05-11 Thread Thomas Marsh
e of the examples for SMTPAppender properties from this > list, and am getting: > > java.lang.NoClassDefFoundError: com/sun/mail/util/MailDateFormat > > I'm using the recommended (from the FAQ) javamail and JAF. I can't find > this class in any of the JARS. Has some

Problems with SMTPAppender

2002-05-10 Thread Thomas Marsh
List: I've used one of the examples for SMTPAppender properties from this list, and am getting: java.lang.NoClassDefFoundError: com/sun/mail/util/MailDateFormat I'm using the recommended (from the FAQ) javamail and JAF. I can't find this class in any of the JARS. Has someon

RE: Yet another SMTPAppender Q.

2002-05-09 Thread Millard, Ray
We sub-classed the SMTPAppender and overrode the method that actually sends the message. From there, we only send certain info. > -Original Message- > From: Roland Chan [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 2:06 PM > To: [EMAIL PROTECTED] > Subject:

Yet another SMTPAppender Q.

2002-05-09 Thread Roland Chan
Hi All, I was wondering if it would be possible to just send the date, category in the email message. Also, I've had difficulties truncating the message for emails so that they are a little easier to digest over cell browsers, etc. Can anyone provide any suggestions? Thanks, Roll

SMTPAppender problem

2002-04-15 Thread Antoine Barbier
Hello everybody, I'm new on this mailing list. I'm using log4j since a few days and I 'm trying to use the STMPAppender class. My problem is the following: I put mail.jar (JavaMail 1.2 version) and activation.jar in my classpath. I declared the following statements in my configuration file log4j

SMTPAppender not accepting multiple email addresses

2002-04-10 Thread Nair, Ranjini
I'm finding that if I specify more that one email address in To option, SMTPAppender sends emails only to the second email address. The email addresses are comma-separated as the documentation says. eg: log4j.appender.R3=org.apache.log4j.net.SMTPAppender log4j.appender.R3.Threshold=

Possible to have cc: and bcc: in emails using SMTPAppender?

2002-03-01 Thread Sara Prigge
Hi- I'm using the SMTP email appender and it works great. However, I noticed you cannot set any properties for carbon copy (cc:) or blind carbon copy (bcc:). Am I overlooking something or is this the case? I would like to have the option to set these properties. Do I have to do some customizi

Only getting logs using SMTPAppender

2002-02-21 Thread Nair, Ranjini
Hi , I am using two categories in one properties file. This file is configured in a servlet and the code is as follows, _ log4j.rootCategory=DEBUG, R log4j.c

Re: SMTPAppender Threshold Bug

2002-01-17 Thread Lyndsey . J . Hairsine
Hi The default constructor for SMTPAppender will instantiate the appender with a TriggeringEventEvaluator that will trigger an email to be sent on events with priority ERROR or higher. I believe that if an event has a priority lower than ERROR, that event will be buffered and not sent until an

SMTPAppender Threshold Bug

2002-01-16 Thread Boudreau, Mike
I tried setting the Threshold on the SMTPAppender in my properties file, but the threshold remained as the default so that email was sent only for ERROR and FATAL levels. Is there a bug in the SMTPAppender regarding the Threshold? log4j.appender.SMTP=org.apache.log4j.net.SMTPAppender

RE: SMTPAppender

2002-01-11 Thread james . snyder
SMTPAppender by default only runs on ERROR or worse. I was in the same documentation dilema and this email list has been the best (pretty much only) place to get info

Re: SMTPAppender

2002-01-11 Thread james . snyder
Hi Mike, I'm using the SMTPAppender in 1.1.3 Here is my .lcf file. I also use the DailyRollingFileAppender log4j.rootCategory=info, A1, SMTPTest # A1 writes to the file "ldh". log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender # default rollover is dai

RE: SMTPAppender

2002-01-11 Thread Boudreau, Mike
I was able to get the SMTPAppender to work, but I would still like to know where I could find more robust documentation. Also, how do I send warnings and above to my FileAppender and errors and above to my SMTPAppender? Thanks, Mike log4j.rootCategory=WARN,FILE,SMTP -Original Message

SMTPAppender

2002-01-11 Thread Boudreau, Mike
Is the SMTPAppender supported in 1.1.3. If so where can I get some good documentation on how to set up the log4j.properties properties file. Can someone please send me an example of what need to be set up in the log4j.properties properties file. Thanks, Mike

RE: Sending html in SMTPAppender

2002-01-09 Thread Kevin M. Shaughnessy
James, You can simply include the URL in the log message. _category.info("http://www.cnn.com";); Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 09:49 To: [EMAIL PROTECTED] Subject: Sending html in SMTPAppend

Sending html in SMTPAppender

2002-01-08 Thread james . snyder
Is it possible to send a simple URL within an email message generated using an SMTPAppender? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

SMTPAppender:505 Authentication required

2001-12-16 Thread Nitin Agarwal
I am using SMTPAppender. The programs compiles well and when running gives me an error MailException 505: Authentication required. I have tried the program on our server thru which we are sending all the other system generated emails. There also it gives me the same Exception. I am using

RE: SMTPAppender again

2001-12-15 Thread Ceki Gulcu
Calling cat.isDebugEnabled() should not take that much time, unless you are calling it all the time (billions of times), say in every method (however small) or in tight loops. This is from the manual: Certain users resort to preprocessing or compile-time techniques to compile out all log state

RE: SMTPAppender again

2001-12-14 Thread Ceki Gulcu
14,2001 3:09 PM > To: Log4J Users List > Subject: RE: SMTPAppender again > > > > Hi all: > We us log4j for debugging and now the speed of the > execution become big > problem. We found cat.isDebugEnabled()really uses > more then half of > execution time in our project

RE: SMTPAppender again

2001-12-14 Thread Sonnathi, Venkat Ramana
Users List Subject: RE: SMTPAppender again Hi all: We us log4j for debugging and now the speed of the execution become big problem. We found cat.isDebugEnabled()really uses more then half of execution time in our project. I was wondering if there is any easy way to turn log4J off or make the

RE: SMTPAppender again

2001-12-14 Thread jiaoxg
Hi all: We us log4j for debugging and now the speed of the execution become big problem. We found cat.isDebugEnabled()really uses more then half of execution time in our project. I was wondering if there is any easy way to turn log4J off or make the compiler treat this method call as comments.

RE: SMTPAppender again

2001-12-14 Thread Mathew, Bindhu
Hi ray, Still I am getting the same error. Attached is my SendMail class and jsp file. If you get a chance could you please check them? Thanks in advance SendMail.java Description: Binary data Test1.jsp Description: Binary data -- To unsubscribe, e-mail: For

RE: SMTPAppender again

2001-12-14 Thread Millard, Ray
o: '[EMAIL PROTECTED]' > Subject: SMTPAppender again > > > > E-mail is working fine on the client mechine, But when I tried to run it > on > the WebSphere server, using jsp file it gives me error at > > SMTPAppender smtp=new AMTPAppender();sayin

SMTPAppender again

2001-12-14 Thread Mathew, Bindhu
E-mail is working fine on the client mechine, But when I tried to run it on the WebSphere server, using jsp file it gives me error at SMTPAppender smtp=new AMTPAppender();saying classDefinitionNotFound: javax.mail.Multipart . I do have javax.mail.* in the class path. Any kind of help is

SMTPAppender configuration

2001-11-21 Thread MCMURTRIE, Dion
I was just wondering if it is possible to get the SMTPAppender to essentially queue up log messages and then send them at regular predefined intervals to avoid having it spam you with logging messages. For example can the SMTPAppender send an email with all the messages for the last 12 hours at

Bug with SMTPAppender and AppenderAttachableImpl classes

2001-11-20 Thread Max Stolyarov
Hi, I am new to this e-mail list, so please help me out. This is my problem. I am using SMTPAppender to send e-mail messages to users when certain events are received by the log server from the external application. What I noticed in my testing was that events are being send to users even

RE: SMTPAppender - again

2001-09-25 Thread Michael Roytman
Mathew, you need to extend TriggeringEventEvaluator with your priority and then pass it to SMTPAppender constructor. class DebugEvaluator implements TriggeringEventEvaluator { /** Lowest priority will trigger e-mail. It is up to mailFilter to filter on Priority to control the

SMTPAppender - again

2001-09-25 Thread Mathew, Bindhu
Hi, In our project I am sending log messages via e-mail using SMTPAppender.I override the method 'isTriggeringEvevt() 'in the interface TriggeringEventEvaluator like public boolean isTriggeringEvent(LoggingEvent event) { if (event == null) { return false; }

RE: SMTPAppender exception

2001-09-12 Thread Cooper, Henry J.
Title: RE: SMTPAppender exception > This is a common problem with JavaMail. If you do a google search for > "no provider for address type rfc822" you should find the answer - I > suspect it's a classpath problem. Thanks Jon. Google pointed me to a FAQ on jGuru.com

Re: SMTPAppender exception

2001-09-12 Thread Ram Peleg
Hi Henry I've had the same problem. Did you get the correct mailhost? (check with ping!) if yes, then make sure you have the following files in your "mail.jar" : "javamail.default.providers", "javamail.default.address.map" and "javamail.charset.map". Hope it helps... Rami

RE: SMTPAppender exception

2001-09-12 Thread Jon Skeet
> I'm having trouble with the SMTPAppender. Hope someone can help. > When I use the SMTPAppender I get the following error: > log4j:ERROR Error occured while sending e-mail notification. > javax.mail.NoSuchProviderException: No provider for Address type: rfc822 This is a co

SMTPAppender exception

2001-09-11 Thread Cooper, Henry J.
Title: SMTPAppender exception Hello, I'm having trouble with the SMTPAppender. Hope someone can help. When I use the SMTPAppender I get the following error: log4j:ERROR Error occured while sending e-mail notification. javax.mail.NoSuchProviderException: No provider for Address type: r

RE: SMTPAppender on Linux box ??

2001-08-22 Thread Thomas Tuft Muller
Mailing List; [EMAIL PROTECTED] | Subject: Re: SMTPAppender on Linux box ?? | | | E, | | I think I missed something. Is the SMTPAppender included in Log4J ?? | I just checked the log4j doc's and the SMTPAppender doesn't appear in the | list of appenders !!?? | | What is happening ?

Re: SMTPAppender on Linux box ??

2001-08-22 Thread Eddie Post
E, I think I missed something. Is the SMTPAppender included in Log4J ?? I just checked the log4j doc's and the SMTPAppender doesn't appear in the list of appenders !!?? What is happening ? I am a bit confused! ;) Eddie - Original Message - From: Thomas Tuft Mull

RE: SMTPAppender on Linux box ??

2001-08-22 Thread Thomas Tuft Muller
The parameters is easy extractable from the JavaDoc. Hope this helps -- Thomas | -Original Message- | From: Eddie Post [mailto:[EMAIL PROTECTED]] | Sent: 22 August 2001 11:08 | To: LOG4J Users Mailing List | Subject: Re: SMTPAppender on Linux box ?? | | | Thanks Nicolas. | | I will have a lo

Re: SMTPAppender on Linux box ??

2001-08-22 Thread Eddie Post
Thanks Nicolas. I will have a look at the javadoc, I search further in the Log4J mailinglist for source code of the SMTPAppender to get me started. Or is there a better place to find the SMTPAppender on internet ? Eddie - Original Message - From: Nicolas <[EMAIL PROTECTED]> To:

Re: SMTPAppender on Linux box ??

2001-08-22 Thread Nicolas
connection. The SMTPAppender uses javamail, and only has to know some information regarding which server to send the mail to, to what email address, and so. To figure out how to use the SMTPAppender, take a look at the javadoc. Nicolas On August 17, 2001 12:37 pm, you wrote: > Hellu, &g

Re: SMTPAppender on Linux box ??

2001-08-22 Thread Eddie Post
Noc noc ?? Can someone please help me with this question I posted last week (see below) ? Ed - Original Message - From: Eddie Post <[EMAIL PROTECTED]> To: LOG4J Users Mailing List <[EMAIL PROTECTED]> Sent: Friday, August 17, 2001 6:37 PM Subject: SMTPAppender on Linux box

Re: SMTPAppender on Linux box ??

2001-08-17 Thread Eddie Post
01 8:57 PM Subject: Re: SMTPAppender on Linux box ?? > We use something like this on a Sun box: > log4j.rootCategory=, A_JMS, A_SMTP > > # A_SMTP is set to SMTP Appender > log4j.appender.A_SMTP=org.apache.log4j.net.SMTPAppender > [EMAIL PROTECTED] > log4j.appender.A_SMTP.From=go

Re: SMTPAppender on Linux box ??

2001-08-17 Thread priyank . johri
We use something like this on a Sun box: log4j.rootCategory=, A_JMS, A_SMTP # A_SMTP is set to SMTP Appender log4j.appender.A_SMTP=org.apache.log4j.net.SMTPAppender [EMAIL PROTECTED] log4j.appender.A_SMTP.From=god log4j.appender.A_SMTP.Subject=Buggs log4j.appender.A_SMTP.SMTPHost= log4j.app

  1   2   >