syb853553110 commented on issue #5566:
URL: 
https://github.com/apache/dolphinscheduler/issues/5566#issuecomment-852009544


   > @syb853553110 It's hard code, you can submit a pr to improve.
   I looked at the source code and found the attachment name problem。
   
   我看了下源码,找到了附件名称不对的问题,主要是这行代码的问题
   org.apache.dolphinscheduler.alert.utils.MailUtils
   part2.setFileName(MimeUtility.encodeText(title + 
Constants.EXCEL_SUFFIX_XLS,Constants.UTF_8,"B"));
   改成
   part2.setFileName(title + Constants.EXCEL_SUFFIX_XLS);
   附件名称就不会出问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to