Can i send email notifications without configuring a mail server jira?

I'm trying to setup the email notifications for jira. I want to do this without installing a mail server. Is this possible? And how?

I'm currently experiencing an error "connection refused"

An error has occurred with sending the test email:

com.atlassian.mail.MailException: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;

nested exception is: Connection refused

3 answers

1 accepted

Hi Claudio,

This is not possible, you need an outgoing mail server to send emails from Jira.

It seems to me that you have an authentication error when trying to connect to the mail server, does your mail user have the correct rights in your mail server?

Best regards,


Hi Peter

Thank you for your feedback,

I have configured the server as specified in's+SMTP+Mail+Server+to+Send+Notifications#ConfiguringJIRA'sSMTPMailServertoSendNotifications-ConfiguringaJNDIlocation

I don't have any mail users configured. I added these configurations in the server.xml

<Resource name="mail/JiraMailServer"
What could be the problem?
Kind regards,


You'll need to use this configuration :

<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false">
<Resource name="mail/JiraMailServer"

And request a username and password to your email administrator.

Best regards,


without SMTP Mail Server i don't think it is possible!!

check this troubleshooting doc

0 votes

The problem is exactly what Peter points out - you haven't got a valid user defined in the settings.

Jira can't send mail via a server that doesn't know who it is. You need to set up the user in your mail system.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,006 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot