You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Steve Pruitt <SP...@exstream.com> on 2005/12/02 19:23:37 UTC

SMTPAppender

All,

It appears that the SMTPAppender has to be fully defined in the config
file.  The host, to, from must be set.  I get a stack trace trying to
create the appender and its complaining about a InternetAddress.

I need to set those params at some point after the application is
running.  So, I must remove the definitions from the config file and
instantiate the appender and logger completely dynamically?


-S

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org