Help Center

Troubleshooting 'WHMCS\Module\Mail\SmtpOauth' Missing in Google Mail OAuth Integration

WHMCS SmtpOauth class not found, Google Mail OAuth integration issue, Troubleshooting missing SmtpOauth class 1
Print

Symptom

After updating to WHMCS v8.6.0, users of the Google Mail Provider using the OAuth 2 SMTP Authentication setting, may encounter a Class not found error when sending emails:

Class "WHMCS\Module\Mail\SmtpOauth" not found
 

The email is not sent.

Solution

Apply the 8.6.1 Maintenance Release via Utilities > Update WHMCS.

Hotfix

We have created a hotfix for WHMCS 8.6.0 to resolve the error:

https://whmcs.community/files/file/180-core-18254-google-mail-oauth/

Workaround

  1. Go to Configuration > System Settings > General Settings > Mail Tab.
  2. Click Configure Mail Provider.
  3. Select Password as the SMTP Authentication setting.
  4. Enter your Google Mail account's password or an App Specific Password.
  5. Click Save.

An App Specific Password is required if Two Factor Authentication is enabled on your Google Mail account.

 
 
 
The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

Still need a hand?

Our support team is on standby if this article didn't fully answer your question.

« Back