private Properties getMailHostConfiguration() {
    Properties result = new Properties();
    if (mailHost == null) {
      mailHost = "";
    }
    if (mailFrom == null) {
      mailFrom = "";
    }
    result.setProperty("mail.host", mailHost);
    result.put("mail.from", mailFrom);
    return result;
  }
@return Properties consisting mailHost and mailFrom property
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MailManager.java