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"];
/Adnan
This post is from my old blog posted on May 2012, that unfortunately no longer exist.
0 comments :
Post a Comment