A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Other Open Source Projects
overwrite SMTPAppender properties
Joined: Jun 11, 2008
Sep 22, 2008 08:56:00
Can anyone help on this? I have set SMTPAppender properties in a log4j properties file and able to send mails. But is it possible to update some of the (Subject, to and from) properties dynamicaaly in my .java file
I agree. Here's the link:
subject: overwrite SMTPAppender properties
Log4J & SMTPAppender
SMTPAppender problem while E-Mailing log file
Using SMTPAppender to attach files
pass parameter to .properties file?
Common resource for all configurable parameters.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015