I want to configure smtp mail server in confluence .

When i fill detail inside the mail server, I am getting below error.

 

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.MessagingException: Could not connect to SMTP host: 139.128.33.33, port: 25;
nested exception is:
java.net.SocketException: Network is unreachable: connect
at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:143)
at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88)
at com.atlassian.confluence.admin.actions.mail.SendTestEmailAction.execute(SendTestEmailAction.java:60)
at

1 answer

0 votes

The message is pretty clear - your server can't reach the network.

It's nothing to do with Confluence at this point - you need to fix your network settings so that it can reach the email server.

I checked all the setting and is working properly through cmd. telnet is working fine and mail is going through cmd.

Then you have something blocking just Confluence's outgoing network connection

@Nic Brough [Adaptavist] can you help me on this ? I am unable to find the solution.

thanks

I really can't tell you any more - there is something wrong with the route between the Confluence server and the email server.  It's not a Confluence issue, the error says "Network is unreachable".  You need to fix that, and I can't do network diagnosis for you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

102 views 3 4
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