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