no message
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user