Class MailServerConfigManager


  • public class MailServerConfigManager
    extends Object
    This class manages the set of (zero or more) configurations for connecting to the mail servers defined in the Directory Server.
    • Method Detail

      • isMailServerConfigured

        public boolean isMailServerConfigured()
        Check if there are any enabled mail servers.
        Returns:
        true if there are enabled mail servers and false otherwise.
      • getMailServerSessions

        public Set<javax.mail.Session> getMailServerSessions()
        Return all the enabled SMTP javax.mail.Session instances configured in the server.
        Returns:
        all enabled javax.mail.Session instances.