App Passwords

Some email providers generate a separate password for use with a specific application, rather than requiring your main account password. This is called an app password. App passwords are typically required when you have two-step verification (or similar account security) enabled on your email account and the application does not support modern OAuth authentication.

Gmail is used as the example in this guide. Other providers such as Yahoo Mail offer similar app password functionality through their own account security settings.

If your organisation uses OAuth to connect SuiteCRM to Gmail or Microsoft 365, you do not need an app password. See the Email Settings documentation for OAuth configuration.

Generating an App Password (Gmail)

1. Enable 2-Step Verification

App passwords require 2-Step Verification to be enabled on your Google account before you can generate one.

2. Create an App Password

  1. In your Google Account, go to the Security section.

    app password 1

  2. Go to App Passwords. You may be asked to sign in again.

    app password 2

  3. Click the Select app drop-down.

    app password 3

  4. Select Other (Custom name).

    app password 4

  5. Enter a name such as suitecrm.

    app password 5

  6. Click Generate.

    app password 6

  7. Copy the generated password from the modal that appears. This password will not be shown again — if you lose it you will need to generate a new one.

    app password 7

Using the App Password in SuiteCRM

The generated app password is used in place of your regular email account password wherever SuiteCRM asks for an email password.

System Outbound Email (Admin)

  1. Go to the Admin panel.

    suitecrm system email 1

  2. Select Email Settings from the Email section.

    suitecrm system email 2

  3. Select Gmail under Choose your Email provider, enter your email address, and paste the app password into the Gmail Password field.

    suitecrm system email 3

  4. Click Send Test Email to verify the connection.

    suitecrm system email 4

  5. Click SAVE.

Personal Email Account (User)

The app password can also be used when setting up a personal mail account in your user profile. Enter it as the password when configuring your incoming (IMAP) and outgoing (SMTP) mail account settings. See Email Setup for the full process.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.