Gmail settings are not working in mail server crucible
Asked by Inder Kumar Rathore:

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](http://smtp.gmail.com)

mail.smtp.starttls.enable = true

mail.smtp.port = 587

mail.from = [crucible.rathore@gmail.com](mailto:crucible.rathore@gmail.com)

mail.smtp.auth = true

username = [crucible.rathore@gmail.com](mailto:crucible.rathore@gmail.com)

password = \*\*\*\*\*\*\*

Mail system started.

Using from address: 'crucible.rathore@[gmail.com](http://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](http://smtp.gmail.com)", port 587, isSSL false

220 [smtp.gmail.com](http://smtp.gmail.com) ESMTP z3sm8211369par.17 - gsmtp

DEBUG SMTP: connected to host "[smtp.gmail.com](http://smtp.gmail.com)", port: 587

EHLO localhost.localdomain

[250-smtp.gmail.com](http://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](http://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)  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Gmail-settings-are-not-working-in-mail-server-crucible/qaq-p/125066?attachment-id=4084){#link_115a2406788c4e}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1648/1/Screen%20Shot%202016-02-18%20at%202.21.18%20PM.png){#display_115a2406788c4e_0}  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Gmail-settings-are-not-working-in-mail-server-crucible/qaq-p/125066?attachment-id=4085){#link_115a2406788c4e_0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1648/2/Screen%20Shot%202016-02-18%20at%202.16.07%20PM.png){#display_115a2406788c4e_2}


Answers:
author: Inder Kumar Rathore
body: 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  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Gmail-settings-are-not-working-in-mail-server-crucible/qaq-p/125066?attachment-id=10174){#link_115a240b9a1dbb}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1653/1/Screen%20Shot%202016-04-07%20at%2011.06.37%20AM.png){#display_115a240b9a1dbb_0}

comments: author: Anuradha Bhagwat
body: 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.


author: gustavo_refosco
body: 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](http://gmail.com) account, then going to **My Account \> Sign-in \& Security \> App password** **s** (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

comments: author: Inder Kumar Rathore
body: 2 step verification is disabled


author: Inder Kumar Rathore
body: I figure it out what was my problem, please let other also know one who faces this issue in future


author: Inder Kumar Rathore
body: I tried this too, but didn't work.


author: Marek Parfianowicz
body: "Please log in via your web browser and then try again."

Did you try this? Maybe a captcha is required?


Tags: fisheye-crucible-administration