While searching on the net I found that I should set the starttls
property as
property.put("mail.smtp.starttls.enable","true");
Where do you make this call? You'll need to set it as a System property
BEFORE the SMTPAppender is configured, as it creates the Properties
bundle during activation
I have read this report and the proposed patch. I am sympathetic to the
problem, but something doesn't feel quite right yet, and I'm still
mulling it over in my brain.
The company I work for has just moved offices, and so we're a bit all
over the place at the moment, so I haven't had much thin
log4j 1.3 (currently alpha) provides AndFilter:
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/filter/AndFilter.java?rev=1.3&view=markup
-Original Message-
From: Sumit Kumar [mailto:[EMAIL PROTECTED]
Sent: Mon 4/4/2005 7:44 AM
To: [email protected]
All,
I was looking for the filtering in log4j. Currently the first
NON-NEUTRAL filter in the list is the decider filter.
I want to use the filters in and'ed and or'ed manner. So if filters are
and'ed then massage will be logged if all filter returns ACCEPT (or if
some of them returns NEUTRAL and r
Hi,
I am getting this exception error while sending mail to gmail server.
(smtp.gmail.com).
log4j:ERROR Error occured while sending e-mail notification.
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: 530 5.7.0 Must issue a
START