slav0nic/DjangoBB — pull request #30 by stefanha (2014-02-21 07:24:36+00:00)
Title: fix send_mail() when no HTML content was given

In commit "remove print from subscription" the EMAIL_DEBUG setting was
removed from send_mail(). The msg.send() was mistakingly moved inside
the if html: body.

This patch fixes the bug so email is also sent when no HTML content was
given.

Signed-off-by: Stefan Hajnoczi