Logon Failure Errors

Problem

You see one of the following errors while working with email importing via POP3:

  • Can not authenticate to POP3 server
  • Logon failure: unknown user name or bad password
  • Password command failed
  • Too many login failures

You may also see some of these errors in notification emails.

If you receive a message about less secure apps, modern authentication, or OAuth from Google® or Microsoft®, see Unsupported Authentication Method below.

Cause

Usually, these errors indicate one of the following problems:

  • You entered an invalid username or password in your support department email importing configuration.
  • Your mailserver has blocked (blacklisted) you.
  • You are using an authentication method that your POP mailbox does not support.
If you receive a message about less secure apps, modern authentication, or OAuth from Google® or Microsoft®, see Unsupported Authentication Method below.

Troubleshooting

To troubleshoot this issue, first ensure that your username and password are correct. If that isn’t the issue, check whether you are using an unsupported authentication method.

Invalid Username or Password

To resolve this issue, ensure that WHMCS has the current login credentials for your mailbox:

  1. Click Edit at Configuration () > System Settings > Support Departments.
    Editing a support department in the Admin Area.
  2. Update Email Address and Email Pass in the Mail Importing Configuration section.
  3. Check to ensure that the port and hostname in your configuration are correct.
  4. Click Save Changes.

With valid login credentials, the system can access the mailbox and import emails into the support ticket system.

Mailserver Blocks

If you find errors and the mailserver has blocked you, you may need to wait out the block time.

  • If you have the correct access to your mailserver, try whitelisting the WHMCS IP address or removing the block.
  • If you are using Google, adjust your Google account settings to allow external applications to log in using a username and password. You can check whether Google blocked WHMCS from logging in by going to Recent Activity in Gmail™ and looking for Suspicious sign in prevented messages.

Unsupported Authentication Method

If the error persists after you verify your username and password, the issue is due to your authentication method.

Some email providers, including Google and Microsoft, are phasing out the use of password for authentication to their email services.

Google Email Users

To resolve this issue as a Google user, see Set Up Email Importing - Google.

Microsoft Email Users

Microsoft stopped accepting basic password authentication for POP3 and IMAP in January 2023.

If you cannot use basic password authentication for POP3 with your Microsoft Exchange service, you can forward emails to a regular mailbox that supports username-and-password authentication for POP3 and then import it via WHMCS.

To update the POP or IMAP import mailbox settings in WHMCS:

  1. Click Edit at Configuration () > System Settings > Support Departments.
    Editing a support department in the Admin Area.
  2. Update Email Address and Email Pass in the Mail Importing Configuration section.
  3. Click Save Changes.
WHMCS 8.6 added updated support for email importing with Microsoft. For more information, see Set Up Email Importing - Microsoft.

Other Email Users

If you are unable to use basic password authentication for POP3 with your email provider, you can forward emails to a regular mailbox that supports username-and-password authentication for POP3 and then import it via WHMCS.

To update the POP or IMAP import mailbox settings in WHMCS:

  1. Click Edit at to Configuration () > System Settings > Support Departments.
    Editing a support department in the Admin Area.
  2. Update Email Address and Email Pass in the Mail Importing Configuration section.
  3. Click Save Changes.

With valid login credentials, the system can access the mailbox and import emails into the support ticket system.

Last modified: November 15, 2024