Kim Klotz
3 months
Andreas Vöst
7 months
Marc Dierig
10 months
Moritz Kraus
1 year
Stefan Xenopol
1 year

GitLab: Test Mailing from the Rails Console

Posted . Visible to the public.

Open a console

sudo gitlab-rails console

Note

This takes some minutes to start

Send a mail

Use the following command on the rails console to send an email.

Notify.test_email('destination_email@address.com', 'Message Subject', 'Message Body').deliver_now
Moritz Kraus
Keywords
gitlab, mail, console, email
Tags
License
Source code in this card is licensed under the MIT License.