NutzCN Logo
问答 使用阿里云邮件推送服务,注册邮件发送失败
发布于 312天前 作者 qq_d6c9c504 380 次浏览 复制 上一个帖子 下一个帖子
标签:

我用的是阿里云邮件推送服务,提示是验证不通过
这使我们的配置
mail.host=smtpdm.aliyun.com
mail.port=465
mail.username=5iddd
mail.password= ********
mail.ssl=true
mail.from=5iddd@5iddd.com

11:07:10.412 ERROR (YvrUserModule.java:149) signup - 有点问题
org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtpdm.aliyun.com:465
	at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at net.wendal.nutzbook.core.service.impl.EmailServiceImpl.send(EmailServiceImpl.java:29) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at net.wendal.nutzbook.yvr.module.YvrUserModule.signup(YvrUserModule.java:146) ~[nutzcn-yvr-3.1.0.jar:3.1.0]
	at net.wendal.nutzbook.yvr.module.YvrUserModule$FM$signup$c73ab321662a1a6ff4ab3fea2c1256f3.invoke(YvrUserModule.java) ~[nutz-1.r.65-SNAPSHOT.jar:3.1.0]
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:30) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.integration.shiro.NutShiroProcessor.process(NutShiroProcessor.java:126) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at net.wendal.nutzbook.yvr.processor.AttackProcessor.process(AttackProcessor.java:80) ~[nutzcn-yvr-3.1.0.jar:3.1.0]
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202) ~[nutz-1.r.65-SNAPSHOT.jar:1.r.65-SNAPSHOT]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[?:?]
	at org.nutz.plugins.hotplug.HotplugFilter.doFilter(HotplugFilter.java:73) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[?:?]
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629) ~[jetty-servlet-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) ~[jetty-servlet-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) ~[jetty-security-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ~[jetty-servlet-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.Server.handle(Server.java:530) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256) ~[jetty-server-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) ~[jetty-io-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) ~[jetty-io-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) ~[jetty-io-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) ~[jetty-util-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) ~[jetty-util-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708) [jetty-util-9.4.8.v20171121.jar:9.4.8.v20171121]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626) [jetty-util-9.4.8.v20171121.jar:9.4.8.v20171121]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: javax.mail.AuthenticationFailedException: 535 Authentication failure[0] [@ud010301]

	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at javax.mail.Service.connect(Service.java:386) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at javax.mail.Service.connect(Service.java:245) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at javax.mail.Service.connect(Service.java:194) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at javax.mail.Transport.send0(Transport.java:253) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at javax.mail.Transport.send(Transport.java:124) ~[nutzcn-core-3.1.0.jar:3.1.0]
	at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411) ~[nutzcn-core-3.1.0.jar:3.1.0]
	... 61 more

5 回复

用户名通常是邮件地址

试过了,但是也没用呢

5iddd.com 可使用-未备案 2018-01-28 21:56:48 这是我们邮箱验证

感谢,充值密码好了

添加回复
请先登陆
回到顶部