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.
This commit is contained in:
shireenrao 2016-05-09 14:33:21 -04:00
parent bd9e437717
commit 8cbe97bb9f

View File

@ -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 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 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``) 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/ .. _Mailhog: https://github.com/mailhog/MailHog/
.. _Download the latest release: https://github.com/mailhog/MailHog/releases .. _Download the latest release: https://github.com/mailhog/MailHog/releases