@ConfigurationProperties(prefix="spring.mail") public class MailProperties extends Object
Constructor and Description |
---|
MailProperties() |
Modifier and Type | Method and Description |
---|---|
Charset |
getDefaultEncoding() |
String |
getHost() |
String |
getJndiName() |
String |
getPassword() |
Integer |
getPort() |
Map<String,String> |
getProperties() |
String |
getProtocol() |
String |
getUsername() |
boolean |
isTestConnection() |
void |
setDefaultEncoding(Charset defaultEncoding) |
void |
setHost(String host) |
void |
setJndiName(String jndiName) |
void |
setPassword(String password) |
void |
setPort(Integer port) |
void |
setProtocol(String protocol) |
void |
setTestConnection(boolean testConnection) |
void |
setUsername(String username) |
public String getHost()
public void setHost(String host)
public Integer getPort()
public void setPort(Integer port)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getProtocol()
public void setProtocol(String protocol)
public Charset getDefaultEncoding()
public void setDefaultEncoding(Charset defaultEncoding)
public void setJndiName(String jndiName)
public String getJndiName()
public boolean isTestConnection()
public void setTestConnection(boolean testConnection)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.