Setting up Stash to use your SMTP mail server:
- allows Stash to send notifications about events to do with pull requests. See Using pull requests in Stash. Note that if the mail server fails, notifications will be dropped.
- allows Stash to email a link to a newly created user, which the user can use to generate their own password.
- allows a user to reset his or her password if they forget it.
To configure mail server for Stash, go to the Administration area and click Mail server.

Fill in the form and click Save.
| Hostname | The hostname of the mail server (for example "localhost" or "192.168.1.15"). |
| Port | The port of the mail server (if unspecified, the port 25 will be used). |
| Username | The username to use to connect to the mail server. |
| Password | The password to use to connect to the mail server. |
| Use TLS | Check if the SMTP server you are connecting to uses TLS. |
| Email from | Specifies the 'From' header in notification emails (for example: noreply@yourcompany.com). |
