public class SMTPServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SMTPServer.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAIL_PORT |
static int |
DEFAULT_TIMEOUT |
Constructor and Description |
---|
SMTPServer()
Deprecated.
Use
SMTPServer.Builder instead. Since 3.2 |
SMTPServer(int port,
String prefix,
javax.mail.internet.InternetAddress from,
String password,
String username,
String host,
boolean useSSL)
Deprecated.
Use
SMTPServer.Builder instead. Since 3.2 |
SMTPServer(String jndiLocation,
javax.mail.internet.InternetAddress from,
String prefix)
Deprecated.
Use
SMTPServer.Builder instead. Since 3.2 |
Modifier and Type | Method and Description |
---|---|
static SMTPServer.Builder |
builder() |
static SMTPServer.Builder |
builder(SMTPServer smtpServer) |
boolean |
equals(Object o) |
javax.mail.internet.InternetAddress |
getFrom() |
String |
getHost() |
String |
getJndiLocation() |
String |
getPassword() |
int |
getPort() |
String |
getPrefix() |
int |
getTimeout() |
String |
getUsername() |
boolean |
getUseSSL() |
int |
hashCode() |
boolean |
isJndiMailActive() |
public static final int DEFAULT_MAIL_PORT
public static final int DEFAULT_TIMEOUT
@Deprecated public SMTPServer(String jndiLocation, javax.mail.internet.InternetAddress from, String prefix)
SMTPServer.Builder
instead. Since 3.2@Deprecated public SMTPServer(int port, String prefix, javax.mail.internet.InternetAddress from, String password, String username, String host, boolean useSSL)
SMTPServer.Builder
instead. Since 3.2@Deprecated public SMTPServer()
SMTPServer.Builder
instead. Since 3.2public static SMTPServer.Builder builder()
public static SMTPServer.Builder builder(SMTPServer smtpServer)
public String getHost()
public String getUsername()
public String getPassword()
public boolean getUseSSL()
public javax.mail.internet.InternetAddress getFrom()
public String getPrefix()
public int getPort()
public String getJndiLocation()
public boolean isJndiMailActive()
public int getTimeout()
Copyright © 2020 Atlassian. All rights reserved.