From 8cbe97bb9f64d780c1521deac6e106d92ba12e2d Mon Sep 17 00:00:00 2001 From: shireenrao Date: Mon, 9 May 2016 14:33:21 -0400 Subject: [PATCH] Added a comment on how to use mailhog As somebody new to mailhog, I was a confused on how to use it. I first assumed, it was going to be used by the django app itself. After reading more on the internet I found it needed to be executed outside of the django application. --- docs/developing-locally.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/developing-locally.rst b/docs/developing-locally.rst index 73fac3cb..1a65ed6e 100644 --- a/docs/developing-locally.rst +++ b/docs/developing-locally.rst @@ -47,6 +47,8 @@ In development you can (optionally) use MailHog_ for email testing. MailHog is b 1. `Download the latest release`_ for your operating system 2. Rename the executable to ``mailhog`` and copy it to the root of your project directory 3. Make sure it is executable (e.g. ``chmod +x mailhog``) +4. Execute mailhog from the root of your project in a new terminal window (e.g. ``./mailhog``) +5. All emails generated from your django app can be seen on http://127.0.0.1:8025/ .. _Mailhog: https://github.com/mailhog/MailHog/ .. _Download the latest release: https://github.com/mailhog/MailHog/releases