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 votes
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 votes
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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,906 views 7 10
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