Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67660

Unable to send email via Email Extension Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Critical Critical
    • email-ext-plugin
    • None

      There is no "Use SMTP Authcentication" option in Extended E-mail Notification(I have uploaded the screenshot), it makes me unable to send email and meet the following error:

       

       

      DEBUG SMTP: MessagingException while sending, THROW: 
       com.sun.mail.smtp.SMTPSendFailedException: 503 Error: need EHLO and AUTH first !
       ;
       nested exception is:
       com.sun.mail.smtp.SMTPSenderFailedException: 503 Error: need EHLO and AUTH first !
      at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2374)
       at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1808)
       at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1285)
       at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:524)
       at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:444)
       at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:354)
       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:755)
       at hudson.model.Build$BuildExecution.cleanUp(Build.java:188)
       at hudson.model.Run.execute(Run.java:1935)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:99)
       at hudson.model.Executor.run(Executor.java:432)
       Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 503 Error: need EHLO and AUTH first !
      at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1817)
       ... 12 more
       Not sent to the following valid addresses: 452776965@qq.com
       SMTPSendFailedException message: 503 Error: need EHLO and AUTH first !
      Next SMTPSenderFailedException message: 503 Error: need EHLO and AUTH first !
      

            Unassigned Unassigned
            xuyaogang999 yaogang xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: