public class SMTPConfiguration extends Object implements ISMTPConfiguration
Constructor and Description |
---|
SMTPConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getFromAddress() |
String |
getReplyToAddress() |
String |
getSMTPHost() |
int |
getSMTPPort() |
String |
getUserName() |
String |
getUserPass() |
void |
setFromAddress(String fromAddress) |
void |
setReplyToAddress(String replyToAddress) |
void |
setSMTPHost(String host) |
void |
setSMTPPort(int port) |
void |
setUserName(String userName) |
void |
setUserPass(String userPass) |
void |
setUseSSLSMTP(boolean useSSLSMTP) |
boolean |
useSSLSMTP() |
public boolean useSSLSMTP()
useSSLSMTP
in interface ISMTPConfiguration
public void setUseSSLSMTP(boolean useSSLSMTP)
setUseSSLSMTP
in interface ISMTPConfiguration
useSSLSMTP
- the useSSLSMTP to setpublic int getSMTPPort()
getSMTPPort
in interface ISMTPConfiguration
public void setSMTPPort(int port)
setSMTPPort
in interface ISMTPConfiguration
port
- the SMTPPort to setpublic String getSMTPHost()
getSMTPHost
in interface ISMTPConfiguration
public void setSMTPHost(String host)
setSMTPHost
in interface ISMTPConfiguration
host
- the sMTPHost to setpublic String getUserName()
getUserName
in interface ISMTPConfiguration
public void setUserName(String userName)
setUserName
in interface ISMTPConfiguration
userName
- the userName to setpublic String getUserPass()
getUserPass
in interface ISMTPConfiguration
public void setUserPass(String userPass)
setUserPass
in interface ISMTPConfiguration
userPass
- the userPass to setpublic String getFromAddress()
getFromAddress
in interface ISMTPConfiguration
public void setFromAddress(String fromAddress)
setFromAddress
in interface ISMTPConfiguration
fromAddress
- The address from which the mail will be sentpublic String getReplyToAddress()
getReplyToAddress
in interface ISMTPConfiguration
public void setReplyToAddress(String replyToAddress)
setReplyToAddress
in interface ISMTPConfiguration
replyToAddress
- the address which will be set as reply-to address (if not left empty)