454-4.7.0: Too many login attempts

GmailSMTPSign-in problem

The error usually looks like this:

454-4.7.0 Too many login attempts, please try again later.

What it means

Google is temporarily blocking sign-ins from your app because of repeated attempts.

Common causes

  • An app retrying with a wrong password, or many connections in a short time.

How to fix it

  1. Fix the password (or switch to an app password or OAuth), then wait before trying again.
  2. Reuse one connection to send several messages rather than reconnecting for each.

Tools to help diagnose it

Can’t update your app to use OAuth?

Auth-Email fixes sign-in errors like this one without changing your app, printer, scanner or script. It signs in to Gmail with OAuth on your app’s behalf, while your app keeps using a normal username and password over IMAP, POP or SMTP.

← Look up another email error