Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Crowd cannot communicate with mail server

Hello all,

I have installed Crowd in my local server and I cannot configure it to use a GMail account.

I have set the following settings:

SMTP Host:

SMTP Port: 465

Username: t***

Password: ********

and enabled the Use Secure Sockets Layer (SSL).

However, if I try to send a test email I get the following error:

Test failed

There was a problem communicating with the mail server.

DEBUG: setDebug: JavaMail version 1.4.7
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "", port 465, isSSL true

I have used the same settings in Confluence and everything works as expected.

Thank you for your time

1 answer

1 accepted

0 votes
Answer accepted
AnnWorley Atlassian Team Aug 03, 2018

Hi, welcome to the Community!

It looks like you have to import an SSL certificate and configure a JNDI resource before you can use Gmail for an SMTP server with Crowd. This article has all the necessary steps Using Gmail as a Crowd Mail Server.

I look forward to hearing how it goes.



thank you for your valuable answer. Everything worked!

I am having a similar problem with Bitbucket. I followed this documentation but I get the error "Sending mail failed. Please verify the mail server configuration and check the logs for details". I noticed that there is no JNDI option for Bitbucket.

Bellow you can find a screenshot from the settings:


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

320 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you