Meaningless Drivel is fun!*
The moose likes Other Open Source Projects and the fly likes overwrite SMTPAppender properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "overwrite SMTPAppender properties" Watch "overwrite SMTPAppender properties" New topic

overwrite SMTPAppender properties

vas reddy

Joined: Jun 11, 2008
Posts: 23

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
Similar Threads
Common resource for all configurable parameters.
Using SMTPAppender to attach files
pass parameter to .properties file?
SMTPAppender problem while E-Mailing log file
Log4J & SMTPAppender