Gmail settings are not working in mail server crucible

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
Accepted answer

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

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

2 step verification is disabled 

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

0 votes

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

Did you try this? Maybe a captcha is required?

I tried this too, but didn't work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

29 views 0 1
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