I could easily chage the SMTPAppender code to allow on-the-fly changes to all the fields but before I do this I wanted to know if there were architectural reasons NOT to do this.
I would add an attribute called 'allowDynamicEmail' or somesuch which, if set to true would recheck System.getProperty(key) for each element and reset the message headers before sending.
I could then send someone the code for review and let you commit it. (Due to security restrictions I can't access the log4j cvs repository from work so I wouldn't be able to check it in myself.)
Let me know what you think.
Robert Schmid
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]