public class MailConfig extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MailConfig.Protocol |
Modifier and Type | Field and Description |
---|---|
static Integer |
DEFAULT_PORT |
protected static long |
serialVersionUID
For interoperability with possible future changes.
|
Constructor and Description |
---|
MailConfig(String smtpServer,
int smtpPort,
String from,
String subject,
String login,
String password,
String trustServers,
String protocol,
boolean enableTLS,
boolean debug) |
MailConfig(String smtpServer,
String from,
String subject,
String login,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getFrom() |
String |
getLogin() |
String |
getPassword() |
String |
getProtocol() |
int |
getSMTPPort() |
String |
getSMTPServer() |
String |
getSubject() |
String |
getTrustServers() |
boolean |
isDebug() |
boolean |
isEnableTLS() |
String |
toString() |
protected static final long serialVersionUID
public static final Integer DEFAULT_PORT
public MailConfig(String smtpServer, String from, String subject, String login, String password)
public String getSMTPServer()
public int getSMTPPort()
public String getFrom()
public String getSubject()
public String getLogin()
public String getPassword()
public String getTrustServers()
public String getProtocol()
public boolean isEnableTLS()
public boolean isDebug()
Copyright © 2022 Denodo Technologies. All rights reserved.