C# Sending log to email after closing application -


i have troubles sending log email using nlog. need nlog sends errors email after closing application,not everytime when nlog calling. real ? there code using :

<target xsi:type="bufferingwrapper"           name="mailbuffer"           slidingtimeout="false"           buffersize="100"           flushtimeout="-1">     <target name="heelpadsimport_patrick_email" xsi:type="mail"             smtpserver="xxxxx"             smtpport="25"             smtpauthentication="basic"             smtpusername="yyyyyy"             smtppassword="*zzzzzz"             enablessl="false"             from="dddddddddd"             to="eeeeeeeeeee"             layout="${longdate} ${uppercase:${level}} ${callsite:classname=true:includesourcepath=true:methodname=true} ${message}${newline}"           /> </target> 


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -