Class "WHMCS\Module\Mail\SmtpOauth" not found with Google Mail OAuth
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.
We have created a hotfix for WHMCS 8.6.0 to resolve the error:
- Go to Configuration > System Settings > General Settings > Mail Tab.
- Click Configure Mail Provider.
- Select Password as the SMTP Authentication setting.
- Enter your Google Mail account's password or an App Specific Password.
- Click Save.
An App Specific Password is required if Two Factor Authentication is enabled on your Google Mail account.