public static SimpleNotifyMailer.Options GetNotifyOptionsRegistry(string appKeyIn) { SimpleNotifyMailer.Options optionsOut = new SimpleNotifyMailer.Options(); SimpleConfig appConfig = SimpleConfig.LoadConfigRegistry(appKeyIn); optionsOut.Server = appConfig.Get("NotifyMailServer", "127.0.0.1"); optionsOut.Port = appConfig.Get("NotifyMailPort", "25"); optionsOut.FromAddress = appConfig.Get("NotifyMailFromAddress", "*****@*****.**"); optionsOut.ToAddresses = appConfig.GetList("NotifyMailAddresses", ','); return(optionsOut); }
public static void SetNotifyOptionsRegistry(string appKeyIn, SimpleNotifyMailer.Options optionsIn) { // TODO }