Explorar o código

use postfix for testing trigger email

Son NK %!s(int64=5) %!d(string=hai) anos
pai
achega
0a60d01596
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/dashboard/views/index.py

+ 1 - 1
app/dashboard/views/index.py

@@ -27,7 +27,7 @@ def index():
             gen_email = GenEmail.get(gen_email_id)
             gen_email = GenEmail.get(gen_email_id)
 
 
             LOG.d("trigger an email to %s", gen_email)
             LOG.d("trigger an email to %s", gen_email)
-            email_utils.send_by_sendgrid(
+            email_utils.send_by_postfix(
                 gen_email.email,
                 gen_email.email,
                 "A Test Email",
                 "A Test Email",
                 f"""
                 f"""