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:
true
if 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:
-
isUseStartTls
public boolean isUseStartTls()- Returns:
true
if the product will attempt to use the STARTTLS extension if the SMTP (note: not SMTPS) server on the other end supports it. Iftrue
and the server does not support it mail will be transmitted in plaintext. Iffalse
mail will always be transmitted in plaintext.- See Also:
-
equals
-
hashCode
public int hashCode()
-