java.lang.Object |
↳ |
com.atlassian.bitbucket.mail.MailHostConfiguration |
Class Overview
Class containing the mail host configuration.
Summary
Nested Classes |
class |
MailHostConfiguration.Builder |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
boolean
equals
(Object o)
public
String
getHostname
()
public
String
getPassword
()
public
Integer
getPort
()
public
String
getUsername
()
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).
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. If true
and the server does not support it mail will be transmitted
in plaintext. If false
mail will always be transmitted in plaintext.