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 "Nair, Ranjini" <RN...@mail.intracorp.com> on 2002/04/10 19:48:06 UTC

SMTPAppender not accepting multiple email addresses

I'm finding that if I specify more that one email address in To option,
SMTPAppender sends emails only to the second email address. The email
addresses are comma-separated as the documentation says.

eg:

log4j.appender.R3=org.apache.log4j.net.SMTPAppender
log4j.appender.R3.Threshold=FATAL
log4j.appender.R3.SMTPHost=BRWEXC01
log4j.appender.R3.To=abc@hotmail.com, xyz@hotmail.com
log4j.appender.R3.From=rnair@mail.intracorp.com
log4j.appender.R3.Subject=CLARA - FATAL error message
log4j.appender.R3.layout=org.apache.log4j.PatternLayout
log4j.appender.R3.layout.ConversionPattern=%d{ABSOLUTE} %-5p - %m%n

The email only goes to xyz@hotmail.com. Am I missing something here? Is
there a cc or bcc option that I can use, instead?

Thanks,
Ranjini.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>