I\'m having an issue with a .NET 3.5 library I\'m developing to send emails. I put the system.net configuration into app.config:
system.net
app.config
Make sure you add your configuration block (as shown above) to the {appName}.exe.config or web.config - the configuration for the class library is taken from one of those files at runtime, not from the app.config of the class library.