Hi, I am making a plugin to send emails and I need to take the recipients from a config file. Any idea how to take keys from an appsettings file? Thanks.
I suppose it's something like ConfigurationManager.AppSettings["yourkey"];
But I'd recommend that you create a 'settings' class in your plugin, which stores the data in the database, and you can have a configuration page for your plugin to set the value.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?