Package org.opends.server.core
Class MailServerConfigManager
java.lang.Object
org.opends.server.core.MailServerConfigManager
This class manages the set of (zero or more) configurations for connecting to the mail servers defined in the
Directory Server.
-
Method Summary
Modifier and TypeMethodDescriptionSet<javax.mail.Session>Return all the enabled SMTPjavax.mail.Sessioninstances configured in the server.booleanCheck if there are any enabled mail servers.
-
Method Details
-
isMailServerConfigured
public boolean isMailServerConfigured()Check if there are any enabled mail servers.- Returns:
trueif there are enabled mail servers andfalseotherwise.
-
getMailServerSessions
Return all the enabled SMTPjavax.mail.Sessioninstances configured in the server.- Returns:
- all enabled
javax.mail.Sessioninstances.
-