BUGFIX:邮件;
This commit is contained in:
@@ -125,7 +125,8 @@ public class MyTaskScheduler {
|
|||||||
try (FileOutputStream fileOut = new FileOutputStream(fileName)) {
|
try (FileOutputStream fileOut = new FileOutputStream(fileName)) {
|
||||||
workbook.write(fileOut);
|
workbook.write(fileOut);
|
||||||
SendEmailUtil.sendExcelEmail("1023316923@qq.com", null, Files.readAllBytes(Paths.get(fileName)), fileName);
|
SendEmailUtil.sendExcelEmail("1023316923@qq.com", null, Files.readAllBytes(Paths.get(fileName)), fileName);
|
||||||
|
SendEmailUtil.sendExcelEmail("calvinwong@aidlab.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName);
|
||||||
|
SendEmailUtil.sendExcelEmail("kaicpang.pang@connect.polyu.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user