*

questions

  • *****
  • 319 posts
Settings / Mail Server / Mail Settings / GMail Server issues
« on: February 22, 2023, 09:21:50 AM »
Dear all,

Has anyone managed to log in with a gmail account so far?
I am using Google Workspace, and I cannot manage to authenticate.

Seeing some errors over there:

I can only sign-in when:
1. SMTP authentication enabled - IS UNCHECKED
2. When I leave the password blank, like there is a GLITCH

Otherwise there is no way to authenticate with Google.

In my Google Workspace I allowed the less secure connection of third-party applications, have checked with Google Support and everything is alright by their/our side.

They are saying that here is something wrong with the 3rd party / Osclass E-mail App (phpmailer).

My server configuration:

- Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.1.16

- PHP 8.1.16 (cli) (built: Feb 14 2023 18:59:41) (NTS gcc x86_64)

- Server version: 10.10.3-MariaDB MariaDB Server

- phpMyAdmin Version information: 5.2.1-1.el7.remi (up to date)

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #1 on: February 22, 2023, 08:29:00 PM »
Quote
They are saying that here is something wrong with the 3rd party / Osclass E-mail App (phpmailer).

Suppose rhey should have logs with details.
When you try to send mail, it use smtp server and return false response when not successful..
Maybe you have something in your logs as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #2 on: February 22, 2023, 09:06:07 PM »
Quote
They are saying that here is something wrong with the 3rd party / Osclass E-mail App (phpmailer).

Suppose rhey should have logs with details.
When you try to send mail, it use smtp server and return false response when not successful..
Maybe you have something in your logs as well.

Yes it does. Where are the logs generated so we can take a look to them?

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #3 on: February 23, 2023, 09:23:48 PM »
Knowing here is a big issue of OSclass with the gmail Authentication, I do request technical support on this.

Thank you,

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #4 on: February 24, 2023, 09:18:54 AM »
Osclass use PHP libraries for sending mails.
https://github.com/PHPMailer/PHPMailer

Logs should be on google side as well.
In osclass, logs from mailer are deferred.

We will try to add in next osclass version possibility to set log level for phpmailer.
« Last Edit: February 24, 2023, 09:38:20 AM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #5 on: March 10, 2023, 08:03:58 AM »
Any updates here? :)

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #6 on: March 10, 2023, 04:31:03 PM »
Update on what?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #7 on: March 10, 2023, 06:16:32 PM »
… see above you know my issue gmail SMTP do not Authenticate :)

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #8 on: March 10, 2023, 07:37:59 PM »
Not issue with library. If yes you can open issue on github of phpmailer
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #9 on: March 11, 2023, 09:20:12 AM »
Then if it’s true Why don’t you change it with another service? Why phpmailer it having issues…

It’s osclass integration… honestly…

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #10 on: March 11, 2023, 09:21:28 AM »
SMTP work good while gmail authentication doesn’t.

Can you proof it work to you?

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #11 on: March 11, 2023, 09:55:39 AM »
Phpmailer is best.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #12 on: March 11, 2023, 05:24:38 PM »
Then contact them, give them your theme credentials and ask them to authenticate. This is a major problem. Gmail Authentication do not work.


They need to fix asap. Is a big issue…

*

questions

  • *****
  • 319 posts
Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #13 on: March 13, 2023, 09:02:21 AM »
As I am using an external mailserver for this as Gmail do not work, I am waiting for a proof that Gmail authenticates and sends messages. :)

I really need this to work, and it doesn't. Need to test this on your hosted Osclass - the link that you provided me through the ticketing system.

Otherwise there is a fix that needs to be applied, as Gmail is the biggest and should work. Being your developed software, this must be your responsability to contact phpmailer if you know this is not working...

There is no rush at all you can take your time but a fix must be applied.

PLEASE TAKE THIS AS A SERIOUS MATTER.

Thank you,

*

MB Themes

Re: Settings / Mail Server / Mail Settings / GMail Server issues
« Reply #14 on: March 13, 2023, 12:43:10 PM »
@questions
Why should anyone put some proves here? Not getting it man. Why we should prove that 3rd party library works? Do it by yourself... Wake up.

Checked gmail without SMTP enabled. It behaves like "everything alright" but email never receive.
When enabled SMTP authentication and checked PHPmailer logs, it was clear it's not functional because setup was not correct. It require updates on gmail side.

It's reasonable considering gmail require 2-factor authentication, that it cannot work just with standard password only.
Code: [Select]
2023-03-13 11:38:37 4 SMTP INBOUND: "534-5.7.9 Application-specific password required. Learn more at"
2023-03-13 11:38:37 4 SMTP INBOUND: "534 5.7.9  https://support.google.com/mail/?p=InvalidSecondFactor k19-20020a17090632d300b008dffda52d71sm3294409ejk.124 - gsmtp"
2023-03-13 11:38:37 2 SERVER -> CLIENT: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9  https://support.google.com/mail/?p=InvalidSecondFactor k19-20020a17090632d300b008dffda52d71sm3294409ejk.124 - gsmtp

2023-03-13 11:38:37 1 SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9  https://support.google.com/mail/?p=InvalidSecondFactor k19-20020a17090632d300b008dffda52d71sm3294409ejk.124 - gsmtp

2023-03-13 11:38:37 4 SMTP Error: Could not authenticate.
2023-03-13 11:38:37 1 CLIENT -> SERVER: QUIT
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots