title: Log4net - smtp appender not working
body: <p>I am using log4net for sending mails when any app error occurs. I have configured the log4net but mail is not recd. Following is the config:</p>
  
  <pre class="lang-xml prettyprint-override"><code>    &lt;appender name="SmtpAppender" type="log4net.Appender.SmtpAppender"&gt;
          &lt;to value="aagrawal@inco.com"/&gt;
          &lt;from value="aagrawal@inco.com"/&gt;
          &lt;subject value="ERROR | MRM Application"/&gt;
          &lt;smtpHost value="relaymail.sapient.com"/&gt;
          &lt;bufferSize value="512"/&gt;
          &lt;lossy value="true"/&gt;
          &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
              &lt;threshold value="ALL"/&gt;
          &lt;/evaluator&gt;
          &lt;layout type="log4net.Layout.PatternLayout,log4net"&gt;
              &lt;conversionPattern value="%property{log4net:HostName} :: %level :: %message %newlineLogger: %logger%newlineThread: %thread%newlineDate: %date%newlineNDC: %property{NDC}%newline%newline"/&gt;
          &lt;/layout&gt;
      &lt;/appender&gt;
  </code></pre>
  
  <p>Is there any other changes that needs to be made?</p>