I am using DNN 6.2.4
The following code gives me a warning:
String smtp = DotNetNuke.Entities.Host.HostSettings.GetHostSetting("SMTPServer");
The warning is that DotNetNuke.Entities.Host.HostSettings is obsolete, and that it has been replaced in DNN 5. I am in DNN 6.2.4 now, so what should I use instead?