nativeInstallerwordpress

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.

You can install or enable the “WP Mail SMTP” plugin from the WordPress administration page. Follow these steps to activate this plugin.

  • Log in to the WordPress administration panel.
  • Navigate to “Plugins” and click the “Activate” option for the “WP-Mail-SMTP” plugin.

    Activate WP-Mail-SMTP

  • Go to the “Settings -> WP Mail SMTP” panel and the “Settings” tab to configure the SMTP settings of your email provider. Select “Other SMTP” as the mailer.

    Mailer selection

  • Here is an example of configuring WordPress to use a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

    • SMTP Host: smtp.gmail.com
    • SMTP Port: 587
    • Encryption: Use TLS encryption.
    • Authentication: On
    • SMTP Username: USERNAME@gmail.com
    • SMTP Password: PASSWORD

      WordPress SMTP Options

    If you are using a different provider, remember to replace these values with the valid data for your SMTP provider.

  • Click “Save Settings” to save the changes.

  • Send a test email using the “Email Test” tab to ensure that everything is working smoothly.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid or Mandrill, 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 How to troubleshoot Gmail SMTP issues to learn the causes of these issues and how to solve them.