Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

overwrite SMTPAppender properties

 
vas reddy
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

thanks
vasreddy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic