<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender"> <to value="group@ivp.in" /> <from value="uname@ivp.in" /> <subject>Error Notification</subject> <smtpHost value="smtp.gmail.com" /> <authentication value="Basic" /> <port value="587" /> <username value="uname@company.com" /> <password value="" /> <bufferSize value="1" /> <EnableSsl value="true"/> <lossy value="true" /> <evaluator type="log4net.Core.LevelEvaluator"> <threshold value="ERROR"/> </evaluator> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%newline%date [%thread] %level %logger - %message%newline%newline%exception" /> </layout> </appender>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)