no message

This commit is contained in:
2024-10-07 22:04:09 +03:00
parent 7fac84740d
commit 17c0bf7eb3
103 changed files with 560 additions and 491 deletions

View File

@@ -1,5 +1,5 @@
package Repository;
import Common_old.Utils.Utils;
import Common.Utils.CommonUtils;
import java.io.File;
import java.io.Serializable;
@@ -18,6 +18,6 @@ public class EmailMessage implements Serializable {
targets.addAll(targets_in);
}
public void addAttachement(File f) throws Exception {
files.put(f.getName(), Utils.packFile(f));
files.put(f.getName(), CommonUtils.fileToBytes(f));
}
}