This is my config:
<system.diagnostics>
<trace autoflush="true"/>
<switches>
<add name="Mail.dll" value="Verbose"/>
</switches>
<sources>
<source name="Mail.dll">
<listeners>
<add name="MailLogFile"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add
name="MailLogFile"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="mail.log"/>
</sharedListeners>
</system.diagnostics>
But I get no mail.log file in the directory where my executable is running!!