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 -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SMTPServer(int port, String prefix, javax.mail.internet.InternetAddress from, String password, String username, String host, boolean useSSL) Deprecated.UseSMTPServer.Builderinstead.SMTPServer(String jndiLocation, javax.mail.internet.InternetAddress from, String prefix) Deprecated.UseSMTPServer.Builderinstead. -
Method Summary
Modifier and TypeMethodDescriptionstatic SMTPServer.Builderbuilder()static SMTPServer.Builderbuilder(SMTPServer smtpServer) booleanjavax.mail.internet.InternetAddressgetFrom()getHost()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:
-
-
Constructor Details
-
SMTPServer
@Deprecated public SMTPServer(String jndiLocation, javax.mail.internet.InternetAddress from, String prefix) Deprecated.UseSMTPServer.Builderinstead. Since 3.2 -
SMTPServer
@Deprecated public SMTPServer(int port, String prefix, javax.mail.internet.InternetAddress from, String password, String username, String host, boolean useSSL) Deprecated.UseSMTPServer.Builderinstead. Since 3.2 -
SMTPServer
Deprecated.UseSMTPServer.Builderinstead. Since 3.2
-
-
Method Details
-
builder
-
builder
-
getHost
-
getUsername
-
getPassword
-
getUseSSL
public boolean getUseSSL() -
getFrom
public javax.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()
-
SMTPServer.Builderinstead.