fix send_test_email_alias
This commit is contained in:
parent
6879490557
commit
0b9f28970f
|
@ -27,9 +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_test_email_alias(
|
email_utils.send_test_email_alias(gen_email.email, gen_email.user.name)
|
||||||
gen_email.email, gen_email.user.name, gen_email.email
|
|
||||||
)
|
|
||||||
|
|
||||||
flash(
|
flash(
|
||||||
f"An email sent to {gen_email.email} is on its way, please check your inbox/spam folder",
|
f"An email sent to {gen_email.email} is on its way, please check your inbox/spam folder",
|
||||||
|
|
Loading…
Reference in a new issue