Configure SMTP for outbound emails

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

To configure outbound emails from CiviCRM, follow these steps:

  • Log in to the Drupal administration console as an administrator.
  • Browse to the CiviCRM administration console and select the “Outbound Email Settings” item.
  • Select “SMTP” as the mailer.
  • Enter the following configuration options using the information below as a guideline. This example configures a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

    SMTP Server - ssl://
    SMTP port - 465
    Authentication? - Yes
    SMTP Username -
    SMTP Password - PASSWORD

    CiviCRM SMTP configuration

  • Click “Save and Send Test Email” to verify that it all works.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.

NOTE: If you are using Gmail as the outbound email server and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.

Last modification January 18, 2019