azurephabricator

Configure SMTP for outbound emails

You can configure the email settings by changing the cluster.mailers configuration option. Here is an example using a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

[
  {
    "key": "stmp-mailer",
    "type": "smtp",
    "options": {
      "host": "(eg. smtp.gmail.com)",
      "port": (eg.  465),
      "user": "(eg.  USERNAME@gmail.com)",
      "password": "(eg. PASSWORD)",
      "protocol": "(eg.  ssl)"
    }
  }
]

You can change the value of this configuration option by running the command:

$ /opt/bitnami/apps/phabricator/htdocs/bin/config --stdin cluster.mailers < mailers.json

where mailers.json is a JSON file with the format shown above.

For advanced configuration, refer to the official email configuration article.

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