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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Using Gmail as a JIRA Mail Server Edited

I have installed Jira Software v7.10 in my windows machine. I'm trying to set up 

"SMTP Mail Server" using gmail server. 

I got connection timeout error as below




Please help me to setup SMTP mail server using gmail in my localhost. Thanks in advance!


3 answers

3 accepted

2 votes
Answer accepted

Hey Eswar, 

This question is a bit old, but as my previous instance of Jira Service Desk crashed when my company "updated" my computer at the exact sametime I was doing an update to JSD, I lost everything...thus I have had to redo everything.  I was redoing my gmail settings and found that what I had previously put in was not working.  Seems as if Google has changed their policy and is now requiring a Google App Password.  It was very easy and worked like a charm.

Firstly, 587 is now the default port.  Below is pic of settings.

smtp_settings_gmail.pngBelow is the content from the Google help page:

Create & use App Passwords

Note: If you use 2-Step-Verification and are seeing a "password incorrect" error when trying to access your Google Account, an App Password may solve the problem.

  1. Go to your Google Account.
  2. On the left navigation panel, choose Security.
  3. On the "Signing in to Google" panel, choose App Passwords. If you don’t see this option:
    • 2-Step Verification is not set up for your account.
    • 2-Step Verification is set up for security keys only.
    • Your account is through work, school, or other organization.
    • You’ve turned on Advanced Protection for your account.
  4. At the bottom, choose Select app and choose the app you’re using.
  5. Choose Select device and choose the device you’re using.
  6. Choose Generate.
  7. Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
  8. Choose Done.

Most of the time, you’ll only have to enter an App Password once per app or device, so don’t worry about memorizing it.


Good Luck and hope this answer helps someone.  


Michael, Your solution worked. It was due to change in Google security policy. we need to generate app as suggested by you. 

I needed to enable "Less secure app access" in Google account security settings to make Michale settings to work


Michael, Thank you for the right direction



0 votes
Answer accepted


Could you please try unchecking TLS option?

Thanks for quick response but no luck, it didn't work out.

Actually, your configuration seems to be fine.

It should succeed connection unless you are not behind firewall which prevents your connection to Gmail.

Check your connection to gmail over 465 (SMTP) port.

Seems like you are right, I tried this when I connected to my office network where email access is restricted. I have to try this at home. Will update you, thanks!

0 votes
Answer accepted
Andy Heinzer Atlassian Team Jun 19, 2018

For Service Provider, if you don't need custom, select the google predefined one.

Also when you login to that google account, does your account have 2-Step Verification turned on?  If it does, Jira won't be able to login to this account.  You might want to confirm you can login to this gmail account first, and then go to the link

If 2-Step verification is turned on, you are probably going to have to disable this in order for Jira to be able to login to this account with just a username and password.

Also, it might help to set the reply-to email address as the same email address.

Suggest an answer

Log in or Sign up to answer

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