Invalid SASL Argument Errors

Problem

While troubleshooting email importing issues involving Google® email accounts on WHMCS 8.6 or later, you see the following error:

last request failed: invalid SASL argument The Mail Import test failed: Oauth2 auth failed, BAD Invalid SASL argument.

Cause

Some of the required information for POP3 email importing via the Google OAuth2 authentication method is missing.

Workaround

Execute the following MySQL® query against your WHMCS database. You can do this using the SQL tab in phpMyAdmin:

UPDATE tblticketdepartments SET login = '[email protected]' WHERE name = 'Name of Department';

  • Replace [email protected] with the email address of the Google mailbox.
  • Replace Name of Department with the name of the support department.

Last modified: October 29, 2024