views:

213

answers:

2

The entlib logging application block doesn't allow for setting username/password or useSSL in the EmailTraceListenerData config type, is there a common solution for this?

+3  A: 

I believe you have to do a custom trace listener for that. Here's a slightly older example of exactly what you're trying to do. But, the logging block has been around for ages, so that example might just work. You can vote for EntLib5 features here. :)

JP Alioto
Thanks, I ended up extending the EmailTraceListenerData class (and the others that went with them) to add the required config properties and functionality
jayrdub
+1  A: 

Authentication has been added to EmailTraceListener in Enterprise Library 5.0

Grigori Melnik
awesome, can't wait to upgrade
jayrdub