Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031937
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2016-01-19 09:542022-05-09 14:39
ReportermalsasuaView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031937: email configuration with gmail: it is necessary to enable the access without security in gmail configuration

Descriptionin a client, when the email configuration is done with gmail account, the emails are not sent from OB. Email with the next error is returned:
Someone just tried to sign in to your Google Account test@gmail.com from an app that doesn't meet modern security standards.

You need to enable the access to gmail without security (see attachment)

Update: starting May 30, 2022, ​​Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password, see https://support.google.com/accounts/answer/6010255?hl=en#:~:text=To%20help%20keep%20your%20account,or%20Google%20Cloud%20Identity%20customers. [^]
Steps To Reproduce. go to client window -> tab:email configuration
 . configure it with a gmail account:
   smtp server: smtp.gmail.com
   smtp server account: your_account@gmail.com
   smtp server address: your_account@gmail.com
   smtp authentication: Y
   smtp connection security: SSL
   smtp port: 465

. enable one alert to send email and run alert process

error is returned:
 ERROR org.openbravo.erpCommon.utility.poc.EmailManager - javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbthX [^]
 
 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 [^] j3sm19403439wmj.19 - gsmtp

And email is sent to the account:
Sign-in attempt prevented:
Someone just tried to sign in to your Google Account miguel.alsasua@gmail.com from an app that doesn't meet modern security standards.
TagsNo tags attached.
Attached Filespng file icon gmailConf.png [^] (191,249 bytes) 2016-01-19 09:56

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0034991 acknowledgedTriage Platform Base Mails are not sent when using gmail's SMTP configuration without letting insecure apps to access the account 

-  Notes
(0136600)
AugustoMauch (administrator)
2022-04-19 15:33

Update to critical bug because of https://support.google.com/accounts/answer/6010255?hl=en#:~:text=To%20help%20keep%20your%20account,or%20Google%20Cloud%20Identity%20customers [^]
(0136620)
AugustoMauch (administrator)
2022-04-20 10:24

See here how to use Oauth2 for server to server applications: https://developers.google.com/identity/protocols/oauth2/service-account?hl=en [^]
(0137086)
AugustoMauch (administrator)
2022-05-09 14:39

Severity moved back to minor and SLA removed because we are going to follow a new approach that does not require modifications in our codebase.

Even though gmail will discontinue the use of username/passwords as authorization method for their smtp servers, the use of app passwords [1] will still be allowed.

[1] https://support.google.com/accounts/answer/185833?hl=en [^]

- Issue History
Date Modified Username Field Change
2016-01-19 09:54 malsasua New Issue
2016-01-19 09:54 malsasua Assigned To => platform
2016-01-19 09:54 malsasua Modules => Core
2016-01-19 09:54 malsasua Triggers an Emergency Pack => No
2016-01-19 09:56 malsasua File Added: gmailConf.png
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base
2022-04-19 12:30 Practics Issue Monitored: Practics
2022-04-19 15:28 AugustoMauch Severity minor => critical
2022-04-19 15:28 AugustoMauch Type feature request => defect
2022-04-19 15:33 AugustoMauch Description Updated View Revisions
2022-04-19 15:33 AugustoMauch Note Added: 0136600
2022-04-20 10:24 AugustoMauch Note Added: 0136620
2022-04-20 13:17 AugustoMauch Status new => scheduled
2022-04-20 13:17 AugustoMauch Assigned To Triage Platform Base => ablasco
2022-04-25 15:41 ivancaceres Issue Monitored: ivancaceres
2022-04-28 11:59 shuehner Relationship added related to 0034991
2022-05-09 14:39 AugustoMauch Note Added: 0137086
2022-05-09 14:39 AugustoMauch Assigned To ablasco => Triage Platform Base
2022-05-09 14:39 AugustoMauch Severity critical => minor


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker