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

批量发送报错 #19

Open
hehan-wang opened this issue Jun 13, 2019 · 1 comment
Open

批量发送报错 #19

hehan-wang opened this issue Jun 13, 2019 · 1 comment

Comments

@hehan-wang
Copy link

io.github.biezhi.ome.SendMailException: javax.mail.internet.AddressException: Local address contains illegal character in string ``[xxx,xxx]''

字符串替换的不对

@619219223
Copy link

String result = Arrays.asList(recipients).toString().replace("(^\[|\]$)", "").replace(", ", ",");
这行代码有问题,[xxx,xxx]替换后还是[xxx,xxx]

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

2 participants