Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

附件上传xls文件,目标邮箱邮箱附件,存在问题 #14

Open
ChangeSub opened this issue Nov 13, 2018 · 4 comments
Open

附件上传xls文件,目标邮箱邮箱附件,存在问题 #14

ChangeSub opened this issue Nov 13, 2018 · 4 comments

Comments

@ChangeSub
Copy link

image
发送的附件为:
image

@ChangeSub
Copy link
Author

出现这种情况是在指定fileName的字数大于10的时候

@whh1990
Copy link

whh1990 commented Mar 15, 2019

加上这句代码试试
System.setProperty("mail.mime.splitlongparameters", "false");

@Captainnemoo0
Copy link

出现这种情况是在指定fileName的字数大于10的时候

请问你解决了吗 我在写一个类似的 可以请教你一下吗

@yechen2
Copy link

yechen2 commented Aug 16, 2022

hutool-all 有注释 对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)

cn.hutool.extra.mail.MailAccount#isSplitlongparameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants