Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trying to configure Outgoing Mail using Office365 SMTP

I have all the SMTP settings of Office365 for my outgoing mail configuration, but while trying to test connection I get the message " SocketTimeoutException: connect timed out"

Although with the exactly same settings I was able to get mail notifications automatically. After the JIRA version has been upgraded mail sending has stopped. Any suggestions in regards would be greatly appreciated.


2 answers

1 vote

"read timed out" means that Jira got no response from the server.  This happens when

  • Your network can resolve the mail server name, but may not carry traffic to it (blocked port or route etc)
  • The mail server is reachable, but you have the wrong port
  • The mail server is not responding for some reason - incorrect credentials will usually get an error message back telling you so, but not always.  The usual reason is that the mail server is not set up to allow mail for the user you've given, or does not have smtp enabled

Hi @Nic Brough _Adaptavist_ 


i have problem in configuring outgoing mail in jira of office 365 account could you help in this?

Possibly.  What is the problem?

0 votes
edwin Community Leader May 18, 2018

Hi Mohammed,

Can we see a screenshot of your configuration?

Currently I am able to connect using

protocol: SECURE_IMAP
port: 993

Also, check your settings

Office365 SMTP configuration receives authentication errors 

Thank you for your reply attached is the screen shot for my outgoing email configuration and the error message. in the timeout space I have tried both 0 and 10000 values.


mail setup.png

I had this problem with a shared microsoft email account. I was able to solve the problem by resetting the shared user account password, according to the instructions in the comments on

Here are the steps:

  1. Open the Microsoft 365 admin center.
  2. Go to Users > Active users
  3. Click the shared user you created for Jira
  4. Click Reset password
  5. Follow the instruction to create a new password, then use the new password

You need to use a different hostname for this, e.g. (replace this with the MX endpoint for your O365 tenant, always ends in

How secure is direct send?

No less secure than other methods.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,308 views 22 31
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you