We recently upgraded from Bamboo 5.9.1 to 5.10.3. Since then we have not received any email notifications. I checked the catalina.out file and found:
2016-04-11 11:48:24,095 ERROR [http-nio-8085-exec-23] [EmailService] Failed to send email
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechanisms supported by both server and client
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:214)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:151)
at com.atlassian.bamboo.mail.EmailService.sendEmailSynchronously(EmailService.java:137)
at com.atlassian.bamboo.mail.BambooMailer.send(BambooMailer.java:84)
at com.atlassian.bamboo.ww2.actions.admin.mail.ConfigureMailServer.testSMTPServer(ConfigureMailServer.java:190)
at com.atlassian.bamboo.ww2.actions.admin.mail.ConfigureMailServer.doEdit(ConfigureMailServer.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)...etc...
The Stash server which is on the same host is still successfully sending emails.
I have tried No TSL, TSL, no password, password, etc. all to no avail.
In our case we had cleared the username and password used to connect to the SMTP server so that we would use anonymous SMTP connections. But it seems that to get this to take effect, Bamboo itself has to be restarted.
This is resolved now. We change the email configuration to use TLS. It would have been great if this gotcha issue was documented in the release note.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Boris Alyurov, please create support request at support.atlassian.com.
JavaMail was updated in Bamboo 5.10.3 from 2.4.1 to 2.5.12 and some clients had issues with Microsoft Exchange server access. Our support engineers will help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any solution to it? We liked to have email notifications
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Presence of a JAR is not an issue here. Bamboo-5.10.3 uses more recent version of javax.mail package and JAR file is now located in WEB-INF/lib/javax.mail-1.5.2.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just found that atlassian-bamboo-5.9.1/atlassian-bamboo/WEB-INF/lib/mail-1.4.1.jar exists but atlassian-bamboo-5.10.3/atlassian-bamboo/WEB-INF/lib/mail-1.4.1.jar does not (nor any other version of the same).
Tried copying it in pace - but to no avail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create support request at support.atlassian.com to get help from our support engineers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.