|
由于,初次使用QC,安装中采用默认的安装方式,所以邮件发送方式采用了SMTP协议。
后来,发现,无法自动发送邮件,更痛苦的是:手动发送邮件,如果发送者的邮箱地址信息为空的,能发送邮件,但是,如果不为空的话,就会报错:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to qihaiyan@supcon.com;
Failed to send the message via mail server 'mail.supcon.cn';
Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 553 5.7.1 <qihaiyan@supcon.com>: Sender address rejected: not logged in
;
Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 553 5.7.1 <qihaiyan@supcon.com>: Sender address rejected: not logged in
;
Error Code: 1049
Stack Trace:
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 553 5.7.1 <qihaiyan@supcon.com>: Sender address rejected: not logged in
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:381)
wrapped in com.mercury.optane.core.CTdException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 553 5.7.1 <qihaiyan@supcon.com>: Sender address rejected: not logged in
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:389)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:348)
at com.mercury.td.tdserver.mail.MailLogic.sendMessage(MailLogic.java:1183)
wrapped in com.mercury.optane.core.CTdException: Failed to send the message via mail server 'mail.supcon.cn'
at com.mercury.td.tdserver.mail.MailLogic.sendMessage(MailLogic.java:1185)
at com.mercury.td.tdserver.mail.MailLogic.sendMail(MailLogic.java:420)
wrapped in com.mercury.optane.core.CTdException: Failed to send mail to qihaiyan@supcon.com
at com.mercury.td.tdserver.mail.MailLogic.sendMail(MailLogic.java:424)
at com.mercury.td.tdserver.mail.MailLogic.sendEntity(MailLogic.java:376)
wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.mail.MailLogic.sendEntity(MailLogic.java:379)
at com.mercury.td.tdserver.mail.MailLogic.sendEntity(MailLogic.java:279)
wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.mail.MailLogic.sendEntity(MailLogic.java:294)
at com.mercury.td.tdserver.requests.MailEntity.execute(MailEntity.java:38)
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:87)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:548)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:540)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:291)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
我的站点配置信息如下: |
|