From 0a60d01596ef274d02a8382c037c719f0ebb8e7f Mon Sep 17 00:00:00 2001 From: Son NK Date: Fri, 15 Nov 2019 14:13:15 +0100 Subject: [PATCH] use postfix for testing trigger email --- app/dashboard/views/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/views/index.py b/app/dashboard/views/index.py index c32b9b68..4f20e2f4 100644 --- a/app/dashboard/views/index.py +++ b/app/dashboard/views/index.py @@ -27,7 +27,7 @@ def index(): gen_email = GenEmail.get(gen_email_id) LOG.d("trigger an email to %s", gen_email) - email_utils.send_by_sendgrid( + email_utils.send_by_postfix( gen_email.email, "A Test Email", f"""