Stash not sending SMTP un-authenticated email messages

Testing out Stash email capability, but it does not seem to be working. With Confluence and Jira, I can successfully send a test email message to my address via our mail server on port 25 without authentication. Configuring Stash the same way, I get the "A test email was sent to the above address" message, but I never receive the test message on my account as I do with Confluence and Jira.

I also tested this by just making up an authentication account and password and then trying to send the message. I see errors in the atlasssian-stash-email log file that shows authentication was unsuccessful, so I know it is at least trying to send email.

On the Exchange side, I see in the logs incoming SMTP messages from Jira and Confluence, but none from the Stash application.

This is a 30-day trial of Stash, btw. Not sure if that makes a difference. It seems to me Stash will not send an un-authenticated email to a SMTP server as Jira and Confluence will do.

2 answers

I have confirmed that Stash will not send email to a SMTP server without credentials. This is different behavior from how Jira and Confluence function.

Hi Jim,

We've seen some issues with connecting to Exchange in the past. Just to clarify - Stash basically uses the default Java mail handling, we don't do anything special.

https://jira.atlassian.com/browse/STASH-3482

In some cases people have had luck replacing the mail jar (if you follow the links to JRA-27623). That's not ideal - and quite often my understanding the problem may just be configuration. See Jason's comment on the ticket above.

Is it possible to post your errors here? If not, or in any case, did you mind raising a support ticket with all your logs so we can assist you further.

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,403 views 26 12
Join discussion

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