Repository navigation
Expand file tree
/
Copy pathMailConstant.java
More file actions
31 lines (23 loc) · 1.45 KB
/
Copy pathMailConstant.java
File metadata and controls
31 lines (23 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package bms.core.mail;
import bms.core.common.ConfigHelper;
public interface MailConstant {
boolean IS_DEBUG = ConfigHelper.getBoolean("smart.plugin.mail.is_debug");
interface Sender {
String PROTOCOL = ConfigHelper.getString("smart.plugin.mail.sender.protocol");
boolean IS_SSL = ConfigHelper.getBoolean("smart.plugin.mail.sender.protocol.ssl");
String HOST = ConfigHelper.getString("smart.plugin.mail.sender.protocol.host");
int PORT = ConfigHelper.getInt("smart.plugin.mail.sender.protocol.port");
String FROM = ConfigHelper.getString("smart.plugin.mail.sender.from");
boolean IS_AUTH = ConfigHelper.getBoolean("smart.plugin.mail.sender.auth");
String AUTH_USERNAME = ConfigHelper.getString("smart.plugin.mail.sender.auth.username");
String AUTH_PASSWORD = ConfigHelper.getString("smart.plugin.mail.sender.auth.password");
}
interface Fetcher {
String PROTOCOL = ConfigHelper.getString("smart.plugin.mail.fetcher.protocol");
boolean IS_SSL = ConfigHelper.getBoolean("smart.plugin.mail.fetcher.protocol.ssl");
String HOST = ConfigHelper.getString("smart.plugin.mail.fetcher.protocol.host");
int PORT = ConfigHelper.getInt("smart.plugin.mail.fetcher.protocol.port");
String FOLDER = ConfigHelper.getString("smart.plugin.mail.fetcher.folder");
boolean FOLDER_READONLY = ConfigHelper.getBoolean("smart.plugin.mail.fetcher.folder.readonly");
}
}