public class EmailConfiguration extends Object implements Serializable, IEmailConfiguration
Constructor and Description |
---|
EmailConfiguration() |
EmailConfiguration(boolean authenticate,
boolean debug,
String defaultFrom,
String fromName,
String smtpHost,
Integer smtpPort,
String smtpProtocol,
boolean smtpQuitWait,
String userId,
String password,
boolean useSsl,
boolean useStartTls) |
Modifier and Type | Method and Description |
---|---|
Properties |
asProperties() |
boolean |
equals(Object obj) |
String |
getDefaultFrom() |
String |
getFromName() |
String |
getPassword() |
String |
getSmtpHost() |
Integer |
getSmtpPort() |
String |
getSmtpProtocol() |
String |
getUserId() |
boolean |
isAuthenticate() |
boolean |
isDebug() |
boolean |
isSmtpQuitWait() |
boolean |
isUseSsl() |
boolean |
isUseStartTls() |
void |
setAuthenticate(boolean authenticate) |
void |
setDebug(boolean debug) |
void |
setDefaultFrom(String defaultFrom) |
void |
setFromName(String fromName) |
void |
setPassword(String password) |
void |
setSmtpHost(String smtpHost) |
void |
setSmtpPort(Integer smtpPort) |
void |
setSmtpProtocol(String smtpProtocol) |
void |
setSmtpQuitWait(boolean smtpQuitWait) |
void |
setUserId(String userId) |
void |
setUseSsl(boolean useSsl) |
void |
setUseStartTls(boolean useStartTls) |
String |
toString() |
public boolean isAuthenticate()
isAuthenticate
in interface IEmailConfiguration
public void setAuthenticate(boolean authenticate)
setAuthenticate
in interface IEmailConfiguration
public boolean isDebug()
isDebug
in interface IEmailConfiguration
public void setDebug(boolean debug)
setDebug
in interface IEmailConfiguration
public String getDefaultFrom()
getDefaultFrom
in interface IEmailConfiguration
public void setDefaultFrom(String defaultFrom)
setDefaultFrom
in interface IEmailConfiguration
public String getFromName()
getFromName
in interface IEmailConfiguration
public void setFromName(String fromName)
setFromName
in interface IEmailConfiguration
public String getSmtpHost()
getSmtpHost
in interface IEmailConfiguration
public void setSmtpHost(String smtpHost)
setSmtpHost
in interface IEmailConfiguration
public Integer getSmtpPort()
getSmtpPort
in interface IEmailConfiguration
public void setSmtpPort(Integer smtpPort)
setSmtpPort
in interface IEmailConfiguration
public String getSmtpProtocol()
getSmtpProtocol
in interface IEmailConfiguration
public void setSmtpProtocol(String smtpProtocol)
setSmtpProtocol
in interface IEmailConfiguration
public String getUserId()
getUserId
in interface IEmailConfiguration
public void setUserId(String userId)
setUserId
in interface IEmailConfiguration
public String getPassword()
getPassword
in interface IEmailConfiguration
public void setPassword(String password)
setPassword
in interface IEmailConfiguration
public boolean isUseSsl()
isUseSsl
in interface IEmailConfiguration
public void setUseSsl(boolean useSsl)
setUseSsl
in interface IEmailConfiguration
public boolean isUseStartTls()
isUseStartTls
in interface IEmailConfiguration
public void setUseStartTls(boolean useStartTls)
setUseStartTls
in interface IEmailConfiguration
public boolean isSmtpQuitWait()
isSmtpQuitWait
in interface IEmailConfiguration
public void setSmtpQuitWait(boolean smtpQuitWait)
setSmtpQuitWait
in interface IEmailConfiguration
public Properties asProperties()
Copyright © 2017 Hitachi Vantara. All rights reserved.