Update SMTP Mail Server

I want to update SMTP Mail Server to send notification emails. But I don't want to set username or password under SMTP Host. So do I must need an unauthenticated SMTP?

3 answers

Hi Cathy,

It seems that you would need to use JNDI location in order to hide the username and password of the mail server used to be saved on the server's {{server.xml}} file.

Please follow this documentation for detailed instruction on how to use JNDI location to configure your mail server


Hope it helps.

Septa Cahyadiputra

I don't think so. Our password need to be changed every three months, so we don't want to use username or password neither under SMTP host nor in JNDI location.

Hi Cathy,

It is not possible to set an SMTP server without username and password as Confluence would need it to authenticate against the configured SMTP server to send the outgoing mail(s).

Septa Cahyadiputra

I have solved it by setting the right SMTP host, then we can send emails without username and password now

could u tell us how did u do?

Hi trepatreolo,

I believe that Cathy kept the Mail acceptance opened to all the messages from the JIRA server based on its IP address. In this case you don't need to set a username/password. I have a similar configuration in my lab environment.

?can confluence use the server mail setted on jira?

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

86 views 2 2
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