Merge branch 'jramsay/email-push-docs' into 'master'

Add example email on push notification to docs

See merge request gitlab-org/gitlab-ce!23566
This commit is contained in:
Achilleas Pipinellis 2018-12-05 10:07:36 +00:00
commit 00ff9c2f9e
3 changed files with 8 additions and 8 deletions

View file

@ -1,20 +1,20 @@
# Enabling emails on push
By enabling this service, you will be able to receive email notifications for
every change that is pushed to your project.
By enabling this service, you will receive email notifications for every change
that is pushed to your project.
Navigate to the [Integrations page](project_services.md#accessing-the-project-services)
and select the **Emails on push** service to configure it.
From the [Integrations page](project_services.md#accessing-the-project-services)
select **Emails on push** service to activate and configure it.
In the _Recipients_ area, provide a list of emails separated by spaces or newlines.
You can configure any of the following settings depending on your preference.
The following options are available:
+ **Push events** - Email will be triggered when a push event is received
+ **Tag push events** - Email will be triggered when a tag is created and pushed
+ **Send from committer** - Send notifications from the committer's email address if the domain is part of the domain GitLab is running on (e.g. `user@gitlab.com`).
+ **Disable code diffs** - Don't include possibly sensitive code diffs in notification body.
---
![Email on push service settings](img/emails_on_push_service.png)
| Settings | Notification |
| --- | --- |
| ![Email on push service settings](img/emails_on_push_service.png) | ![Email on push notification](img/emails_on_push_email.png) |

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 26 KiB