Package com.atlassian.crowd.util.mail
Class SMTPServer
java.lang.Object
com.atlassian.crowd.util.mail.SMTPServer
POJO holding SMTP server config.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic SMTPServer.Builderbuilder()static SMTPServer.Builderbuilder(SMTPServer smtpServer) booleanjakarta.mail.internet.InternetAddressgetFrom()getHost()getId()intgetPort()intbooleaninthashCode()booleanboolean
-
Field Details
-
DEFAULT_MAIL_PORT
public static final int DEFAULT_MAIL_PORT- See Also:
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT- See Also:
-
-
Method Details
-
builder
-
builder
-
getId
-
getHost
-
getUsername
-
getPassword
-
getOauth2ConfigurationId
-
getUseSSL
public boolean getUseSSL() -
getFrom
public jakarta.mail.internet.InternetAddress getFrom() -
getPrefix
-
getPort
public int getPort() -
getJndiLocation
-
isJndiMailActive
public boolean isJndiMailActive() -
isStartTLS
public boolean isStartTLS() -
getTimeout
public int getTimeout() -
equals
-
hashCode
public int hashCode()
-