diff --git a/app/email_utils.py b/app/email_utils.py
index 4dcc2209..17ca4ba4 100644
--- a/app/email_utils.py
+++ b/app/email_utils.py
@@ -14,7 +14,6 @@ from email.message import Message, EmailMessage
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.utils import make_msgid, formatdate
-from flask import url_for
from smtplib import SMTP, SMTPException
from typing import Tuple, List, Optional, Union
@@ -204,7 +203,6 @@ def send_invalid_totp_login_email(user, totp_type):
def send_test_email_alias(email, name):
- support_page = URL + url_for("dashboard.support_route")
send_email(
email,
f"This email is sent to {email}",
@@ -212,13 +210,11 @@ def send_test_email_alias(email, name):
"transactional/test-email.txt",
name=name,
alias=email,
- support_page=support_page,
),
render(
"transactional/test-email.html",
name=name,
alias=email,
- support_page=support_page,
),
)
diff --git a/templates/emails/transactional/test-email.html b/templates/emails/transactional/test-email.html
index c22c8855..6ee70c2f 100644
--- a/templates/emails/transactional/test-email.html
+++ b/templates/emails/transactional/test-email.html
@@ -3,6 +3,5 @@
{% block content %}
{{ render_text("Hi " + name) }}
{{ render_text("This is a test to make sure that you receive emails sent to your alias " + alias + ".") }}
- {{ render_text('If you have any questions, feel free to contact us through our support page') }}
{% endblock %}
diff --git a/templates/emails/transactional/test-email.txt b/templates/emails/transactional/test-email.txt
index 14576313..3f838639 100644
--- a/templates/emails/transactional/test-email.txt
+++ b/templates/emails/transactional/test-email.txt
@@ -5,7 +5,5 @@ Hi {{name}}
This is a test to make sure that you receive emails sent to your alias {{alias}}.
-If you have any questions, feel free to contact us through our support page: {{support_page}}
-
{% endblock %}