1
|
package eu.dnetlib.uoaadmintoolslibrary.configuration.properties;
|
2
|
|
3
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
4
|
|
5
|
@ConfigurationProperties("admintoolslibrary.mail")
|
6
|
public class MailConfig {
|
7
|
private String host;
|
8
|
private String port;
|
9
|
private String auth;
|
10
|
private String from;
|
11
|
private String username;
|
12
|
private String password;
|
13
|
|
14
|
public void setHost(String host) {
|
15
|
this.host = host;
|
16
|
}
|
17
|
|
18
|
public void setPort(String port) {
|
19
|
this.port = port;
|
20
|
}
|
21
|
|
22
|
public void setAuth(String auth) {
|
23
|
this.auth = auth;
|
24
|
}
|
25
|
|
26
|
public void setFrom(String from) {
|
27
|
this.from = from;
|
28
|
}
|
29
|
|
30
|
public void setUsername(String username) {
|
31
|
this.username = username;
|
32
|
}
|
33
|
|
34
|
public void setPassword(String password) {
|
35
|
this.password = password;
|
36
|
}
|
37
|
|
38
|
public String getHost() {
|
39
|
return host;
|
40
|
}
|
41
|
|
42
|
public String getPort() {
|
43
|
return port;
|
44
|
}
|
45
|
|
46
|
public String getAuth() {
|
47
|
return auth;
|
48
|
}
|
49
|
|
50
|
public String getFrom() {
|
51
|
return from;
|
52
|
}
|
53
|
|
54
|
public String getUsername() {
|
55
|
return username;
|
56
|
}
|
57
|
|
58
|
public String getPassword() {
|
59
|
return password;
|
60
|
}
|
61
|
}
|