Package com.atlassian.bitbucket.mail
Class MailHostConfiguration
java.lang.Object
com.atlassian.bitbucket.mail.MailHostConfiguration
Class containing the mail host configuration.
-
Method Details
-
getHostname
-
getPassword
-
getPort
-
getProtocol
-
getUsername
-
isRequireStartTls
public boolean isRequireStartTls()- Returns:
trueif the product should always use the STARTTLS extension when connecting to SMTP (note: not SMPTS) mail servers and fail if the server does not support it (ensuring mail is always sent over SSL/TLS and never in plaintext).- See Also:
-
getAuthType
-
getOauth2ProviderId
-
getTokenId
-
isUseStartTls
public boolean isUseStartTls()- Returns:
trueif the product will attempt to use the STARTTLS extension if the SMTP (note: not SMTPS) server on the other end supports it. Iftrueand the server does not support it mail will be transmitted in plaintext. Iffalsemail will always be transmitted in plaintext.- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-