We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using .NET Native Configuration

Is it posible to use

As configuration for aspose network?


This message was posted using Page2Forum from Sending Emails - Aspose.Network for .NET

Hi,

Thank you for inquiry.

I am sorry, currently it is not possible to pick the configuration settings for SmtpClient from web or app.config files. I have logged a new feature request for this in our system (ID: 26380). We will update you once this feature becomes available.

The issues you have found earlier (filed as 26380 ) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Use overloaded constructor to pick values from the config file:

SmtpClient client = new SmtpClient(ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None));