66 lines
1.2 KiB
Java
66 lines
1.2 KiB
Java
package eu.dnetlib.uoaadmintools.configuration.properties;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
@ConfigurationProperties("admintool.mail")
|
|
public class MailConfig {
|
|
|
|
private String host;
|
|
private String port;
|
|
private String auth;
|
|
private String from;
|
|
private String username;
|
|
private String password;
|
|
|
|
|
|
public void setHost(String host) {
|
|
this.host = host;
|
|
}
|
|
|
|
public void setPort(String port) {
|
|
this.port = port;
|
|
}
|
|
|
|
public void setAuth(String auth) {
|
|
this.auth = auth;
|
|
}
|
|
|
|
public void setFrom(String from) {
|
|
this.from = from;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
public String getHost() {
|
|
return host;
|
|
}
|
|
|
|
public String getPort() {
|
|
return port;
|
|
}
|
|
|
|
public String getAuth() {
|
|
return auth;
|
|
}
|
|
|
|
public String getFrom() {
|
|
return from;
|
|
}
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
|
|
}
|