zoukankan      html  css  js  c++  java
  • jenkins邮件通知

    javax.mail.AuthenticationFailedException: 535 Login Fail. Please enter your authorization code to login. More information in http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
    
    	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:809)
    	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)
    	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
    

    改为授权码,再次测试报错:

    Failed to send out e-mail
    
    java.net.SocketException: Connection closed by remote host
    	at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1547)
    	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71)
    	at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114)
    	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2104)
    Caused: javax.mail.MessagingException: Can't send command to SMTP host;
      nested exception is:
    	java.net.SocketException: Connection closed by remote host
    	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2106)
    	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2093)
    	at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1184)
    	at javax.mail.Transport.send0(Transport.java:197)
    	at javax.mail.Transport.send(Transport.java:124)
    	at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:673)
    	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
    	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
    	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
    	at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
    	at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
    	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
    
  • 相关阅读:
    WPF MarkupExtension
    WPF Binding小数,文本框不能输入小数点的问题
    WPF UnhandledException阻止程序奔溃
    .Net Core的总结
    C#单元测试
    Csla One or more properties are not registered for this type
    unomp 矿池运行问题随记
    矿池负载运行监测记录
    MySql 数据库移植记录
    后台服务运行后无故停止运行,原因不明
  • 原文地址:https://www.cnblogs.com/zoujiaojiao/p/12935516.html
Copyright © 2011-2022 走看看