Email App Passwords

Many email providers require an app password when connecting a backend, SMTP client, automation tool, or third-party email app. This password is different from the user’s normal login password and is usually generated from the provider’s account security settings.

App passwords grant access to email. Store them securely, never log them, and revoke them when no longer needed.

Before you start

Providers

Gmail / Google

Google app passwords are 16-digit passwords used for apps that do not support “Sign in with Google.” They are only available when 2-Step Verification is enabled.

  1. Sign in to the user’s Google Account.
  2. Open Security.
  3. Enable 2-Step Verification if it is not already enabled.
  4. Go to App passwords.
  5. Choose or enter the app name.
  6. Generate the password.
  7. Copy the 16-character password and use it as the SMTP password.
Open Google App Passwords →

Outlook / Hotmail / Microsoft

Microsoft app passwords may be available for personal Microsoft accounts when two-step verification is enabled. Some Microsoft 365 or enterprise accounts may block app passwords and require OAuth instead.

  1. Sign in to the user’s Microsoft account.
  2. Open Security.
  3. Select Advanced security options.
  4. Enable Two-step verification if needed.
  5. Find the App passwords section.
  6. Select Create a new app password.
  7. Copy the generated password and use it as the SMTP password.
Microsoft App Password Instructions →

Yahoo Mail

Yahoo uses third-party app passwords for apps that connect to Yahoo Mail without using Yahoo’s normal sign-in page.

  1. Sign in to Yahoo Mail.
  2. Open the user’s Account Security page.
  3. Find External connections.
  4. Select Create app password.
  5. Enter the app or service name.
  6. Select Generate password.
  7. Copy the generated password and use it as the SMTP password.
Yahoo App Password Instructions →

iCloud Mail / Apple

Apple uses app-specific passwords for third-party apps that access iCloud data, including iCloud Mail.

  1. Sign in at appleid.apple.com.
  2. Open Sign-In and Security.
  3. Select App-Specific Passwords.
  4. Select the option to generate a new app-specific password.
  5. Enter a label for the app or service.
  6. Copy the generated password.
  7. Use that password for iCloud SMTP login.
Apple App-Specific Password Instructions →

AOL Mail

AOL requires app passwords for some third-party email apps, especially apps that do not use AOL’s branded sign-in flow.

  1. Sign in to the user’s AOL account.
  2. Open Account Security.
  3. Select Generate app password or Generate and manage app passwords.
  4. Select Get Started.
  5. Enter the app name.
  6. Select Generate password.
  7. Copy the generated password and use it as the SMTP password.
AOL App Password Instructions →

Notes

Some accounts may not show app passwords until two-factor authentication is enabled. Business, school, and enterprise accounts may disable app passwords entirely and require OAuth instead.

Simple rule

If SMTP login fails with the user’s normal email password, the provider likely requires an app password or OAuth authentication.