davinci-docker icon indicating copy to clipboard operation
davinci-docker copied to clipboard

我发送Dashboard的邮件到qq邮箱,里面的中文会产生框框的乱码,怎么解决??

Open lx87139511 opened this issue 5 years ago • 4 comments

微信图片111111

lx87139511 avatar Dec 16 '19 02:12 lx87139511

直接url访问是正常的,只有发送邮件的时候才会产生中文乱码

lx87139511 avatar Dec 16 '19 02:12 lx87139511

163邮箱没有乱码,其它邮箱不确定

cabbage89 avatar Feb 25 '20 07:02 cabbage89

用容器部署的服务执行定时任务时会报错: 2020-03-22 15:47:20.649 INFO 16 --- [pool-7-thread-1] e.d.service.screenshot.ScreenshotUtil : finish screenshot for job: 8 java.lang.IllegalArgumentException: File must not be null at org.springframework.util.Assert.notNull(Assert.java:193) at org.springframework.mail.javamail.MimeMessageHelper.addInline(MimeMessageHelper.java:912) at edp.core.utils.MailUtils.lambda$sendMail$1(MailUtils.java:188) at java.util.ArrayList.forEach(ArrayList.java:1257) at edp.core.utils.MailUtils.sendMail(MailUtils.java:185) at edp.davinci.service.impl.EmailScheduleServiceImpl.execute(EmailScheduleServiceImpl.java:206) at edp.core.common.quartz.QuartzJobExecutor.lambda$execute$0(QuartzJobExecutor.java:64) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

有遇到相同问题么

michelle-q avatar Mar 22 '20 08:03 michelle-q

我知道什么问题,在更新新的docker镜像后需要在 dockerfile里面添加

ENV OPENSSL_CONF=/etc/ssl/

cabbage89 avatar May 07 '20 05:05 cabbage89