# Stash Latest : Setting up your mail server

This page last changed on Oct 08, 2012 by pwatson.

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).

## Attachments:

skitched-20120229-134531.jpg (image/jpeg)
Screen shot 2012-02-29 at 1.44.26 PM.png (image/png)
skitched-20120327-144713.jpg (image/jpeg)
image2012-3-27 14:48:22.png (image/png)
image2012-3-27 14:49:59.png (image/png)
Stash_1_1_mail_server.png (image/png)
Stash_1_1_config_mail.png (image/png)
Stash_1_1_config_mail.png (image/png)
Stash_1_1_mail_server.png (image/png)
image2012-3-27 14:49:59.png (image/png)
image2012-3-27 14:48:22.png (image/png)
skitched-20120327-144713.jpg (image/jpeg)
Screen shot 2012-02-29 at 1.44.26 PM.png (image/png)
skitched-20120229-134531.jpg (image/jpeg)
Stash12_mail_server.png (image/png)
Stash12_mail_server.png (image/png)
skitched-20120229-134531.jpg (image/jpeg)
Screen shot 2012-02-29 at 1.44.26 PM.png (image/png)
skitched-20120327-144713.jpg (image/jpeg)
image2012-3-27 14:48:22.png (image/png)
image2012-3-27 14:49:59.png (image/png)
Stash_1_1_mail_server.png (image/png)
Stash_1_1_config_mail.png (image/png)
STASH13_nav2mail_setup.png (image/png)