public class MailSettings
extends java.lang.Object
PropertyPlaceholderConfigurer, either in
applicationContext.xml or using Value annotations| Constructor and Description |
|---|
MailSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHost()
Returns the SMTP host used for email authentication
|
java.lang.String |
getPassword()
Returns the SMTP password used for email authentication
|
java.lang.String |
getPort()
Returns the SMTP port used for email authentication
|
java.lang.String |
getSender()
Returns the email address used as the sender for all emails
|
java.lang.String |
getSenderName()
Returns the name of the sender used for all emails
|
java.lang.String |
getUsername()
Returns the SMTP username used for email authentication
|
int |
hashCode() |
void |
setHost(java.lang.String host) |
void |
setPassword(java.lang.String password) |
void |
setPort(java.lang.String port) |
void |
setSender(java.lang.String sender) |
void |
setSenderName(java.lang.String senderName) |
void |
setUsername(java.lang.String username) |
java.lang.String |
toString() |
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getPort()
public void setPort(java.lang.String port)
public java.lang.String getSender()
public void setSender(java.lang.String sender)
public java.lang.String getSenderName()
public void setSenderName(java.lang.String senderName)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object