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.Session
instances configured in the server.boolean
Check if there are any enabled mail servers.
-
Method Details
-
isMailServerConfigured
public boolean isMailServerConfigured()Check if there are any enabled mail servers.- Returns:
true
if there are enabled mail servers andfalse
otherwise.
-
getMailServerSessions
Return all the enabled SMTPjavax.mail.Session
instances configured in the server.- Returns:
- all enabled
javax.mail.Session
instances.
-