How do I diagnose smtp connection?

"Sending mail failed.  Please verify the mail server configuration and check the logs for details."  Where is the log on Windows 2012 server?  It is not in the Atlassian/bitbucket folder.

2 answers

0 vote
Peter DeWitt Community Champion Sep 21, 2017

Scott, here is a TechNet article on using telnet to test SMTP.  This will determine if the problem is server or app level.


In case you don't have telnet enabled on the servers, here is another TechNet article that shows you how to do that.


Good Luck!.



Sorry, but you did not answer my question, in the context.  My context is "Bitbucket".   The question was:  where is the Bitbucket log for the mail connection?  The "Test email" button failed but it did not say why it failed.

Still haven't answered my question.

0 vote
Jeff Thomas Atlassian Team Sep 26, 2017

Hi Scott,

Inside of %BITBUCKET_HOME%/log there will be a atlassian-bitbucket.log and atlassian-bitbucket-mail.log files that should contain more information about why the test mail did not send.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,768 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you