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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Configure office 365 incoming mail server



I'm using on-prem Jira server, trying to configure incoming pops/imaps mail server.

I've created an office 365 mailbox with username and password, configured the server details (, secure imap port 995, username and password) but the test keeps failing with error "SocketTimeoutException: connect timed out".

I tried also pops (993), also made sure mailbox is pop/imap enabled.

Any ideas? 



1 answer

0 votes
Brant Schroeder Community Leader Jan 12, 2022

@Roee Levi  Welcome to the Atlassian community

Here are the mail server settings for o365. Recommend using IMAP. 

  • IMAP incoming server:

  • IMAP port:    993

  • IMAP SSL:    Yes

  • SMTP outgoing server:

  • SMTP port:    587

  • SMTP SSL or TLS:    TLS

  • POP incoming server:

  • POP port:    995

  • POP SSL:    Yes


If the settings do not work, make sure IMAP is activated on your account in o365. 

You can also find this information by logging into your o365 mail account on the web, press the cog up in right corner and choose 'mail' under 'your app settings'. The choose POP and IMAP in left hand menu under accounts. 

I have exactly the same issue with Jira Server 7.13 and it does not like office365. SMTP does not work. 

I can even telnet to the hostname on command prompt but not through Jira. 

Brant Schroeder Community Leader Oct 20, 2022

@Mehran Moss You should work with your network team to make sure that there are no firewall rules preventing the traffic.

I had to upgrade 8.20.15 to be able to use OAuth2 and secure HTTP.

Brant Schroeder Community Leader Nov 26, 2022

Great.  Can you mark as accepted so others can see the solution.

Suggest an answer

Log in or Sign up to answer