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 ISMTPConfigurationpublic void setUseSSLSMTP(boolean useSSLSMTP)
setUseSSLSMTP in interface ISMTPConfigurationuseSSLSMTP - the useSSLSMTP to setpublic int getSMTPPort()
getSMTPPort in interface ISMTPConfigurationpublic void setSMTPPort(int port)
setSMTPPort in interface ISMTPConfigurationport - the SMTPPort to setpublic String getSMTPHost()
getSMTPHost in interface ISMTPConfigurationpublic void setSMTPHost(String host)
setSMTPHost in interface ISMTPConfigurationhost - the sMTPHost to setpublic String getUserName()
getUserName in interface ISMTPConfigurationpublic void setUserName(String userName)
setUserName in interface ISMTPConfigurationuserName - the userName to setpublic String getUserPass()
getUserPass in interface ISMTPConfigurationpublic void setUserPass(String userPass)
setUserPass in interface ISMTPConfigurationuserPass - the userPass to setpublic String getFromAddress()
getFromAddress in interface ISMTPConfigurationpublic void setFromAddress(String fromAddress)
setFromAddress in interface ISMTPConfigurationfromAddress - The address from which the mail will be sentpublic String getReplyToAddress()
getReplyToAddress in interface ISMTPConfigurationpublic void setReplyToAddress(String replyToAddress)
setReplyToAddress in interface ISMTPConfigurationreplyToAddress - the address which will be set as reply-to address (if not left empty)