title: Log4j send email to multiple users via properties
body: <p>I am trying to configure my log4j properties file in order to send emails when are error occurs. I have it working for one person, and am receiving the emails whenever an error occurs. However, I want to have the emails be sent to multiple people on my team when something happens. Is there a way to configure this? Here is my log file:</p>
  
  <pre><code>log4j.rootLogger=warn, sendMail
  log4j.logger.org.apache=ERROR
  
  log4j.appender.sendMail=org.apache.log4j.net.SMTPAppender  
  log4j.appender.sendMail.Threshold=WARN  
  log4j.appender.sendMail.To=blbla@asdf.com
  log4j.appender.sendMail.From=blba@asdf.com  
  log4j.appender.sendMail.SMTPHost=smtp.asdf.asdf.com
  log4j.appender.sendMail.Subject=Error Log Message  
  log4j.appender.sendMail.layout=org.apache.log4j.PatternLayout  
  log4j.appender.sendMail.layout.ConversionPattern=%p %t %c - %m%n  
  log4j.appender.sendMail.BufferSize=1
  </code></pre>
  
  <p>I have tried adding a comma after the 'To' command and adding another email address, but that person does not receive it. Any ideas on how I can configure this file to send the errors to multiple people?</p>