fix бага с настройками почты

This commit is contained in:
2025-01-23 17:40:52 +03:00
parent 6c0c103804
commit 94208ec25c
9 changed files with 25 additions and 40 deletions

View File

@@ -8,25 +8,12 @@ public class VisualDVMProperties extends Properties {
public _VisualDVM.Mode Mode = _VisualDVM.Mode.Normal;
//---
@Expose
public String ServerAddress = "alex-freenas.ddns.net";
@Expose
public String ServerUserName = "testuser";
@Expose
public int ServerUserSHHPort = 23;
@Expose
public int ComponentsServerPort = 7995;
@Expose
public int TestingServerPort = 7998;
@Expose
public int SocketTimeout = 5000;
//--email
@Expose
public String SMTPHost = "smtp.mail.ru";
@Expose
public int SMTPPort = 465;
@Expose
public int MailSocketPort = 465;
//---
//--
public VisualDVMProperties() {
}
public VisualDVMProperties(_VisualDVM.Mode mode_in, File file_in) {
@@ -36,14 +23,8 @@ public class VisualDVMProperties extends Properties {
//---
public VisualDVMProperties(VisualDVMProperties src) {
Mode = src.Mode;
ServerAddress = src.ServerAddress;
ServerUserName = src.ServerUserName;
ServerUserSHHPort = src.ServerUserSHHPort;
ComponentsServerPort = src.ComponentsServerPort;
TestingServerPort = src.TestingServerPort;
SocketTimeout = src.SocketTimeout;
SMTPHost = src.SMTPHost;
SMTPPort = src.SMTPPort;
MailSocketPort = src.MailSocketPort;
}
}