diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-05 10:19:10 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-05 10:19:10 +0000 |
commit | e6c5a8b161c89a03ca5ee6666f65cf4cfbfa4ab9 (patch) | |
tree | a038e35744c8adaa8d01eb3b623a2e8f7efcb50d /doc | |
parent | 9ce9814ee3281be0e7cfa4653480284e4fe3eb9f (diff) | |
parent | cdc62cffcb86dfd939c119cba2acaf266af39f23 (diff) | |
download | gitlab-ce-e6c5a8b161c89a03ca5ee6666f65cf4cfbfa4ab9.tar.gz |
Merge branch 'rake_task_for_google_email_schema_verfication' into 'master'
Rake task for google email schema verfication
#1607
See merge request !1300
Diffstat (limited to 'doc')
-rw-r--r-- | doc/integration/gitlab_buttons_in_gmail.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/integration/gitlab_buttons_in_gmail.md b/doc/integration/gitlab_buttons_in_gmail.md index 5cfea5a90f8..0816509c557 100644 --- a/doc/integration/gitlab_buttons_in_gmail.md +++ b/doc/integration/gitlab_buttons_in_gmail.md @@ -9,3 +9,20 @@ If correctly setup, emails that require an action will be marked in Gmail. To get this functioning, you need to be registered with Google. [See how to register with google in this document.](https://developers.google.com/gmail/markup/registering-with-google) +To aid the registering with google, GitLab offers a rake task that will send an email to google whitelisting email address from your GitLab server. + +To check what would be sent to the google email address, run the rake task: + +```bash +bundle exec rake gitlab:mail_google_schema_whitelisting RAILS_ENV=production +``` + +**This will not send the email but give you the output of how the mail will look.** + +Copy the output of the rake task to [google email markup tester](https://www.google.com/webmasters/markup-tester/u/0/) and press "Validate". + +If you receive "No errors detected" message from the tester you can send the email using: + +```bash +bundle exec rake gitlab:mail_google_schema_whitelisting RAILS_ENV=production SEND=true +`` |