I like the MS Enterprise logging application block because it allows me to easily define several logging options and then log an error in a line or so of the code from my application.
However, I really want to send email using my folder to send the SMTP server (as opposed to specifying the server name and port). Just using the simple old System.Net block in your web.config, you can do:
<system.net>
<mailSettings>
<smtp deliveryMethod="pickupDirectoryFromIis" from="testuser@domail.com">
</smtp>
</mailSettings>
</system.net>
or something like that, and then everything is ready.
Is this possible in the Application Logging block? I do not want to specify the server and port.
Thanks, stack overflow!