From d9716287f82a476375499cf6a8190652474974d3 Mon Sep 17 00:00:00 2001 From: gdwvcd Date: Wed, 26 Oct 2016 06:23:29 -0500 Subject: [PATCH] Update __init__.py Optional perhaps, but with this update, emails are sent automatically 'out of the box' --- apps/email/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/email/__init__.py b/apps/email/__init__.py index c6239b1..d574f43 100644 --- a/apps/email/__init__.py +++ b/apps/email/__init__.py @@ -32,4 +32,5 @@ def send_email_from_template(template_prefix, from_address, to_address, **contex message.html_body = html message.text_body = text message.put() + message.deliver() return message.key