Setting up Stash to use your SMTP mail server:

To configure a mail server for Stash, go to the administration area and click Mail server (under 'Settings'). See Supported platforms for the mail clients supported by Stash.

Complete the form and click Save.

ホスト名The hostname of the mail server (for example "localhost" or "192.168.1.15").
ポートThe port of the mail server (if unspecified, the port 25 will be used).
ユーザ名The username to use to connect to the mail server.
パスワードThe password to use to connect to the mail server.
プロトコル

Use either SMTP or SMTPS when connecting to the mail server.

When using SMTP, you can specify that:

  • SSL/TLS is used if supported by the mail server, otherwise mail is sent in plaintext.
  • mail should only be sent if the mail server supports SSL/TLS.

See Securing email notifications below.

メールの差出人Specifies the 'From' header in notification emails (for example: noreply@yourcompany.com).

If you wish to set up the outgoing mail server as an anonymous user, simply leave the username and password fields empty. However, in Chrome, these fields may be auto-populated, leading to an error – as a workaround, try using a different browser.

Securing email notifications

Stash 3.6 and later versions support the following protocols:

Note that if you use either SMTP with STARTTLS, or SMTPS, and connect to a self-signed mail server, you may need to import the server's cert ificate and set up a custom cacerts file for Stash (just as you do for any outbound SSL/TLS connection to a self-signed server). See this Stash knowledge base article for information about how to do that.

Configuring the mail server to use Gmail

If you wish to connect to a Gmail account for email notifications in Stash, refer to the Configuring the Mail Server to Use Gmail guide.

In particular, note that Gmail won't show images in the email because of the way that Google loads images on their servers. For Google Apps, a Stash administrator can solve the problem by adding the Stash domain name to a whitelist – see https://support.google.com/a/answer/3299041?hl=en for more information.