You can pass the following parameters in the function to retrieved the required setting value
- SMTPAuthentication
- SMTPEnableSSL
- SMTPPassword
- SMTPServer
- SMTPUsername
var hostSettings = DotNetNuke.Entities.Host.Host.GetHostSettingsDictionary(); string SMTPServer = hostSettings["SMTPServer"]; string SMTPAuthentication = hostSettings["SMTPAuthentication"];
0 comments :
Post a Comment