I meant your global config that you are using for email in Jenkins.
On Mon, Apr 14, 2014 at 9:55 PM, Munaf Kotawdekar <[email protected]> wrote: > Hi, > > Please find below configuration file: > > <GlobalNamingResources> > <!-- Editable user database that can also be used by > UserDatabaseRealm to authenticate users > --> > <Resource name="UserDatabase" auth="Container" > type="org.apache.catalina.UserDatabase" > description="User database that can be updated and saved" > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > pathname="conf/tomcat-users.xml" /> > > <Resource name="mail/Session" > auth="Container" > type="javax.mail.Session" > mail.smtp.host="pod51021.outlook.com" > mail.smtp.port="587" > mail.smtp.auth="true" > mail.smtp.user="[email protected]" > mail.smtp.password="...." > mail.smtp.starttls.enable="true" > mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory" > /> > </GlobalNamingResources> > > Is there any other seting. I remember setting starttls parameter in > Jenkins startup as a JVM option. Cant remember where this setting needs to > be entered. > > Thanks, > Munaf > > > On Fri, Apr 11, 2014 at 7:45 PM, Slide <[email protected]> wrote: > >> 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 a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/5wlB3haErO4/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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.
