-
-
liuwl 小试身手Lv3
发表于2018-12-1 11:27
悬赏10
已解决

liuwl 发表于 2018-12-3 16:27
我试了,还是不行的,这两个地方都配置了
我给你发站内消息了看下。需要提贴让研发看下了
27个回答
https://jingyan.baidu.com/article/7f41ecec3e8d35593d095c93.html
确认发件人的邮箱开通了SMTP服务。在邮件服务器的官方网站上登录邮箱,里面可以开通这个服务。
2018-12-01 13:40:20.937 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.p.s.jvmconsole.ConsoleManager 成功启动控制台监控!
com.esen.exception.RuntimeException4I18N: 邮件服务器地址配置错误!
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:400)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)
at com.esen.platform.message.mail.MailMessageSender.sendMessage(MailMessageSender.java:49)
at com.esen.platform.message.impl.MessageCenterDefault.postMessage(MessageCenterDefault.java:431)
at com.esen.platform.message.impl.MessageCenterDefault.postMessage(MessageCenterDefault.java:412)
at com.esen.i.schedule.cuibao.CuiBaoEmailImpl.cuiUser(CuiBaoEmailImpl.java:47)
at com.esen.i.schedule.cuibao.CuiBao.cuiUser(CuiBao.java:718)
at com.esen.i.schedule.cuibao.CuiBao.cuiTask(CuiBao.java:487)
at com.esen.i.schedule.cuibao.CuiBao.cuiTasks(CuiBao.java:552)
at com.esen.i.schedule.cuibao.CuiBao.doCui(CuiBao.java:388)
at com.esen.i.schedule.cuibao.CuiBao.endCuiBao(CuiBao.java:357)
at com.esen.i.schedule.DataHandlerItem.doCuiBao(DataHandlerItem.java:737)
at com.esen.i.schedule.DataHandlerItem.doRun(DataHandlerItem.java:294)
at com.esen.i.schedule.CuiBaoTaskRunner.execute(CuiBaoTaskRunner.java:57)
at com.esen.platform.executable.schedule.ScheduledTaskRunner.execute(ScheduledTaskRunner.java:30)
at com.esen.platform.executable.schedule.RunabledScheduledTask$1.run(RunabledScheduledTask.java:145)
at com.esen.thread.LocaleTask.run(LocaleTask.java:105)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.163.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.163.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.163.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out
... 24 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.163.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:288)
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389)
... 23 more
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)
... 26 more
2018-12-01 13:41:29.331 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReport request:{resid=[Ljava.lang.String;@6c63c662, showtype=[Ljava.lang.String;@a758386, showtitle=[Ljava.lang.String;@290dd7c7, showmenu=[Ljava.lang.String;@4bd15edf}
2018-12-01 13:41:29.331 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReport reportid:EBI$12$T9CFT0RIS14DSIS96BT34BWQ8M99ERIQ$2$L1N4R76ETILNLDS1UJ7LEUYUXZ13XPDT.rpttpl
2018-12-01 13:41:29.332 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage request:{resid=[Ljava.lang.String;@7d3d20d7, showtype=[Ljava.lang.String;@3837437d, showtitle=[Ljava.lang.String;@342fe060, showmenu=[Ljava.lang.String;@3333d964}
2018-12-01 13:41:29.343 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage reportid:EBI$12$T9CFT0RIS14DSIS96BT34BWQ8M99ERIQ$2$L1N4R76ETILNLDS1UJ7LEUYUXZ13XPDT.rpttpl
2018-12-01 13:41:29.343 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage isResultOld:0
2018-12-01 13:41:29.343 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage execute_show
2018-12-01 13:41:57.641 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReport request:{taskid=[Ljava.lang.String;@6b27b412, zoomnum=[Ljava.lang.String;@7b9f40b3, resid=[Ljava.lang.String;@1450e72d, draftselect=[Ljava.lang.String;@4b7945c6, action=[Ljava.lang.String;@6d3f0e0, draftid=[Ljava.lang.String;@446b05a0}
2018-12-01 13:41:57.641 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReport reportid:EBI$12$T9CFT0RIS14DSIS96BT34BWQ8M99ERIQ$2$93UARM1QDCP81Q63E3N8UZ9UXM3WYYUX.rpttpl
2018-12-01 13:41:57.642 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage request:{taskid=[Ljava.lang.String;@4e3e6e77, zoomnum=[Ljava.lang.String;@64c66ec2, resid=[Ljava.lang.String;@1f91b63e, draftselect=[Ljava.lang.String;@1753b0a3, action=[Ljava.lang.String;@7771a94b, draftid=[Ljava.lang.String;@4721b830}
2018-12-01 13:41:57.653 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage reportid:EBI$12$T9CFT0RIS14DSIS96BT34BWQ8M99ERIQ$2$93UARM1QDCP81Q63E3N8UZ9UXM3WYYUX.rpttpl
2018-12-01 13:41:57.653 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage isResultOld:0
2018-12-01 13:41:57.653 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO c.e.b.j.a.u.r.ActionShowReportPage execute_show