public class MailHostConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MailHostConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHostname() |
String |
getPassword() |
Integer |
getPort() |
MailProtocol |
getProtocol() |
String |
getUsername() |
int |
hashCode() |
boolean |
isRequireStartTls() |
boolean |
isUseStartTls() |
public String getHostname()
public String getPassword()
public Integer getPort()
@Nonnull public MailProtocol getProtocol()
public String getUsername()
public boolean isRequireStartTls()
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()
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.Copyright © 2022 Atlassian. All rights reserved.