forked from github/dataease
fix(系统管理): 定时报告发送邮件附件名称过长导致展示错误
This commit is contained in:
parent
2bfbb88bc8
commit
b4c67fee50
@ -140,6 +140,7 @@ public class EmailService {
|
||||
attach.setFileName(MimeUtility.encodeText(file.getName()));
|
||||
multipart.addBodyPart(attach);
|
||||
}
|
||||
System.getProperties().setProperty("mail.mime.splitlongparameters", "false");
|
||||
multipart.setSubType("related");
|
||||
return multipart;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user