Package org.opends.server.core
Class MailServerConfigManager
- java.lang.Object
-
- org.opends.server.core.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<javax.mail.Session>getMailServerSessions()Return all the enabled SMTPjavax.mail.Sessioninstances configured in the server.booleanisMailServerConfigured()Check if there are any enabled mail servers.
-
-
-
Method Detail
-
isMailServerConfigured
public boolean isMailServerConfigured()
Check if there are any enabled mail servers.- Returns:
trueif there are enabled mail servers andfalseotherwise.
-
getMailServerSessions
public Set<javax.mail.Session> getMailServerSessions()
Return all the enabled SMTPjavax.mail.Sessioninstances configured in the server.- Returns:
- all enabled
javax.mail.Sessioninstances.
-
-