Can you post your configuration? I helped someone some time back get it working, but I don't remember everything we did. If I remember correctly, the admin email address had to match the user that you are using in the authentication. You also need to NOT use SSL, but enable STARTTLS.
On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar <[email protected]> wrote: > Hi, > I have configured outlook 365 email to work with Jenkins for notifications > when build fails. Somehow it is not working. I have configured appropriate > settings for Outlook online and also setup required TLS parameter in > startup. > > > I get the following error: > > ERROR: No authentication mechansims supported by both server and client > *javax.mail.AuthenticationFailedException*<http://stacktrace.jenkins-ci.org/search?query=javax.mail.AuthenticationFailedException>: > No authentication mechansims supported by both server and client > at > *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*<http://stacktrace.jenkins-ci.org/search/?query=com.sun.mail.smtp.SMTPTransport.authenticate&entity=method> > at > *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*<http://stacktrace.jenkins-ci.org/search/?query=com.sun.mail.smtp.SMTPTransport.protocolConnect&entity=method> > at > *javax.mail.Service.connect(Service.java:317)*<http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connect&entity=method> > at > *javax.mail.Service.connect(Service.java:176)*<http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connect&entity=method> > at > *javax.mail.Service.connect(Service.java:125)*<http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Service.connect&entity=method> > at > *javax.mail.Transport.send0(Transport.java:194)*<http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Transport.send0&entity=method> > at > *javax.mail.Transport.send(Transport.java:124)*<http://stacktrace.jenkins-ci.org/search/?query=javax.mail.Transport.send&entity=method> > at > *hudson.tasks.MailSender.execute(MailSender.java:116)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.execute&entity=method> > at > *hudson.tasks.Mailer.perform(Mailer.java:117)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.Mailer.perform&entity=method> > at > *hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method> > at > *hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method> > at > *hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps&entity=method> > at > *hudson.model.Build$BuildExecution.post2(Build.java:183)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.post2&entity=method> > at > *hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method> > at > *hudson.model.Run.execute(Run.java:1690)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at > *hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > at > *hudson.model.ResourceController.execute(ResourceController.java:88)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at > *hudson.model.Executor.run(Executor.java:246)*<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Finished: FAILURE > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Website: http://earl-of-code.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
