refactor com emails: remove non-uses, move to the right location

This commit is contained in:
Son NK 2020-09-30 11:51:08 +02:00
parent 38cc2e7986
commit 8517e7d356
6 changed files with 0 additions and 40 deletions

View File

@ -135,15 +135,6 @@ def send_change_email(new_email, current_email, name, link):
)
def send_new_app_email(email, name):
send_email(
email,
f"Any question/feedback for SimpleLogin {name}?",
render("com/new-app.txt", name=name),
render("com/new-app.html", name=name),
)
def send_test_email_alias(email, name):
send_email(
email,

View File

@ -41,16 +41,6 @@ def reset_db():
create_db()
def send_safari_extension_newsletter():
for user in User.query.all():
send_email(
user.email,
"Quickly create alias with our Safari extension",
render("com/safari-extension.txt", user=user),
render("com/safari-extension.html", user=user),
)
def send_mailbox_newsletter():
for user in User.query.order_by(User.id).all():
if user.notification and user.activated:

View File

@ -1,11 +0,0 @@
{% extends "base.html" %}
{% block content %}
{{ render_text("Hi " + name) }}
{{ render_text("This is Son, SimpleLogin founder.") }}
{{ render_text("Even though I lead the company, Im the *product person* and the user experience you get from our product means a lot to me.") }}
{{ render_text('Our users and developers love SimpleLogin and its simplicity (hence the "simple" in the name), but if there\'s anything that\'s bugging you, even the smallest of issues that could be done better, I want to hear about it - so hit the reply button.') }}
{{ render_button("SimpleLogin documentation", "https://docs.simplelogin.io") }}
{{ render_text('Thanks, <br />SimpleLogin Team.') }}
{% endblock %}

View File

@ -1,10 +0,0 @@
Hi {{name}}
This is Son, SimpleLogin Founder 😊.
Even though I lead the company, Im the "product person" and the user experience you get from our product means a lot to me.
Our users and developers love SimpleLogin and its simplicity (hence the "simple" in the name 😉), but if there's anything that's bugging you, even the smallest of issues that could be done better, I want to hear about it - so hit the reply button.
Thanks!
SimpleLogin Team.