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

Gmail settings are not working in mail server crucible

Inder Kumar Rathore February 17, 2016

Hi,

I can't use my gmail account for mail server in crucible,

I have below settings

Screen Shot 2016-02-18 at 2.21.18 PM.png

 

Then tried to test the email but got the error as in the logs below.

Also I get this message from the google stating that it doesn't meet the security standards

Please help me

Screen Shot 2016-02-18 at 2.16.07 PM.png

 

 

 

~ ~ ~ ~ ~ ~ ~ ~ LOGS ~ ~ ~ ~ ~ ~

 

Starting mail system...

mail.smtp.host = smtp.gmail.com

mail.smtp.starttls.enable = true

mail.smtp.port = 587

mail.from = crucible.rathore@gmail.com

mail.smtp.auth = true

username = crucible.rathore@gmail.com

password = *******

Mail system started.

Using from address: 'crucible.rathore@gmail.com'

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]

DEBUG SMTP: useEhlo true, useAuth true

DEBUG SMTP: useEhlo true, useAuth true

DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 587, isSSL false

220 smtp.gmail.com ESMTP z3sm8211369par.17 - gsmtp

DEBUG SMTP: connected to host "smtp.gmail.com", port: 587

EHLO localhost.localdomain

250-smtp.gmail.com at your service, [111.93.54.69]

250-SIZE 35882577

250-8BITMIME

250-STARTTLS

250-ENHANCEDSTATUSCODES

250-PIPELINING

250-CHUNKING

250 SMTPUTF8

DEBUG SMTP: Found extension "SIZE", arg "35882577"

DEBUG SMTP: Found extension "8BITMIME", arg ""

DEBUG SMTP: Found extension "STARTTLS", arg ""

DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""

DEBUG SMTP: Found extension "PIPELINING", arg ""

DEBUG SMTP: Found extension "CHUNKING", arg ""

DEBUG SMTP: Found extension "SMTPUTF8", arg ""

STARTTLS

220 2.0.0 Ready to start TLS

EHLO localhost.localdomain

250-smtp.gmail.com at your service, [111.93.54.69]

250-SIZE 35882577

250-8BITMIME

250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH

250-ENHANCEDSTATUSCODES

250-PIPELINING

250-CHUNKING

250 SMTPUTF8

DEBUG SMTP: Found extension "SIZE", arg "35882577"

DEBUG SMTP: Found extension "8BITMIME", arg ""

DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"

DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""

DEBUG SMTP: Found extension "PIPELINING", arg ""

DEBUG SMTP: Found extension "CHUNKING", arg ""

DEBUG SMTP: Found extension "SMTPUTF8", arg ""

DEBUG SMTP: Attempt to authenticate

AUTH LOGIN

334 VXNlcm5hbWU6

Y3J1Y2libGUucmF0aG9yZUBnbWFpbC5jb20=

334 UGFzc3dvcmQ6

UmF0aG9yZSQxMDQ=

534-5.7.14 

534-5.7.14 XqGS_sZNNWaCYDiIKf2ggxXLYI4qPpaqw2ooOQqTyR-yHrHoX_IIUvXKP2vcJlb7cEQn7-

534-5.7.14 Bu-ns_GS6zQhlm4_KFhogp-enqDC59E8AVmJDRYmNZNSxZeJWKHNlXVSx4y-HlChzSKApk

534-5.7.14 EillwusZ-Xhj77PiIw-cbV2SXVRh27I-7m_kKCRsoa9JDaEdv9qyDhUL-51qNNwFpJOY6u

534-5.7.14 iUngFy2ZVfq59cTUm63iS3jAa5rs> Please log in via your web browser and

534-5.7.14 then try again.

534-5.7.14 Learn more at

534 5.7.14 https://support.google.com/mail/answer/78754 z3sm8211369par.17 - gsmtp

problem sending email
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)

4 answers

1 accepted

0 votes
Answer accepted
Inder Kumar Rathore April 6, 2016

Go to this page using your gmail account and turn on less secure apps

https://www.google.com/settings/security/lesssecureapps

 

Screen Shot 2016-04-07 at 11.06.37 AM.png

Anuradha Bhagwat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2019

if don't want to enable less secure apps then what to do in case of i m using my company account to send emails.

1 vote
gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2016

Hi Inder,

I think this could be a restriction due to Google's 2-step authentication, for which you must generate a specific App Password, and then use this specific password (instead your usual account's password) to allow Crucible authenticating against Gmail.

Assuming this is activated for your Gmail account, you can generate an app password by accessing your crucible.rathore@gmail.com account, then going to My Account > Sign-in & Security > App passwords (I believe you can reach this page directly at https://security.google.com/settings/u/1/security/apppasswords). Once on this page you will see dropdowns to Select app and Select device. On Select app just choose Other. It will present you a box to fill in with a name. Name it as you wish (e.g. Crucible), and click on Generate. A new box will open, presenting you with a 16-character password. Just copy this and, when configuring SMTP settings on Crucible, paste this password in the Password field instead of your actual password.

Regards,

Gustavo Refosco

Inder Kumar Rathore February 18, 2016

2 step verification is disabled 

Inder Kumar Rathore April 6, 2016

I figure it out what was my problem, please let other also know one who faces this issue in future

0 votes
Inder Kumar Rathore February 18, 2016

I tried this too, but didn't work.

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 17, 2016

"Please log in via your web browser and then try again."

Did you try this? Maybe a captcha is required?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events