public void setMailProperties(Properties mailProperties) {
    mailHost = mailProperties.getProperty(PROPERTY_MAIL_HOST);
    mailFrom = mailProperties.getProperty(PROPERTY_MAIL_FROM);
    String mailList = mailProperties.getProperty(PROPERTY_MAIL_TO_LIST, "");
    String[] split = mailList.split(",");
    removeAllMailToAddresses();
    for (final String s : split) {
      addMailToAddress(s.trim());
    }
  }
Set the mail properties, e.g mail host, mailFrom, MailTo etc
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MailManager.java