Remove support email from test email
This commit is contained in:
parent
bef71b7be3
commit
2e62a9f00c
|
@ -58,7 +58,6 @@ from app.config import (
|
||||||
VERP_PREFIX,
|
VERP_PREFIX,
|
||||||
VERP_MESSAGE_LIFETIME,
|
VERP_MESSAGE_LIFETIME,
|
||||||
VERP_EMAIL_SECRET,
|
VERP_EMAIL_SECRET,
|
||||||
SUPPORT_EMAIL,
|
|
||||||
)
|
)
|
||||||
from app.db import Session
|
from app.db import Session
|
||||||
from app.dns_utils import get_mx_domains
|
from app.dns_utils import get_mx_domains
|
||||||
|
@ -213,14 +212,12 @@ def send_test_email_alias(email, name):
|
||||||
"transactional/test-email.txt",
|
"transactional/test-email.txt",
|
||||||
name=name,
|
name=name,
|
||||||
alias=email,
|
alias=email,
|
||||||
support_email=SUPPORT_EMAIL,
|
|
||||||
support_page=support_page,
|
support_page=support_page,
|
||||||
),
|
),
|
||||||
render(
|
render(
|
||||||
"transactional/test-email.html",
|
"transactional/test-email.html",
|
||||||
name=name,
|
name=name,
|
||||||
alias=email,
|
alias=email,
|
||||||
support_email=SUPPORT_EMAIL,
|
|
||||||
support_page=support_page,
|
support_page=support_page,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ render_text("Hi " + name) }}
|
{{ render_text("Hi " + name) }}
|
||||||
{{ render_text("This is a test to make sure that you receive emails sent to your alias <b>" + alias + "</b>.") }}
|
{{ render_text("This is a test to make sure that you receive emails sent to your alias <b>" + alias + "</b>.") }}
|
||||||
{{ render_text('If you have any questions, feel free to contact us either by sending an e-mail to <a href="mailto:' + support_email + '">' + support_email + '</a> or through our <a href="' + support_page +'">support page</a>') }}
|
{{ render_text('If you have any questions, feel free to contact us through our <a href="' + support_page +'">support page</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Hi {{name}}
|
||||||
|
|
||||||
This is a test to make sure that you receive emails sent to your alias {{alias}}.
|
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 either by sending an e-mail to {{support_email}} or through our support page: {{support_page}}
|
If you have any questions, feel free to contact us through our support page: {{support_page}}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue