GitLab: Test Mailing from the Rails Console

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