mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
improve email wording for test email
This commit is contained in:
parent
0ed2ef60c5
commit
727830be6b
@ -34,11 +34,15 @@ def index():
|
|||||||
Hi {current_user.name}!
|
Hi {current_user.name}!
|
||||||
|
|
||||||
This is a test to make sure that you receive emails sent from SimpleLogin.
|
This is a test to make sure that you receive emails sent from SimpleLogin.
|
||||||
|
|
||||||
If you have any questions, feel free to reply to this email :).
|
If you have any questions, feel free to reply to this email :).
|
||||||
|
|
||||||
Have a nice day!
|
Have a nice day!
|
||||||
SimpleLogin team.
|
Son.
|
||||||
|
SimpleLogin.
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|
||||||
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",
|
||||||
"success",
|
"success",
|
||||||
|
@ -40,7 +40,7 @@ def send_by_postfix(to_email, subject, content):
|
|||||||
msg = EmailMessage()
|
msg = EmailMessage()
|
||||||
|
|
||||||
msg["Subject"] = subject
|
msg["Subject"] = subject
|
||||||
msg["From"] = SUPPORT_EMAIL
|
msg["From"] = f"Son from SimpleLogin <{SUPPORT_EMAIL}>"
|
||||||
msg["To"] = to_email
|
msg["To"] = to_email
|
||||||
msg.set_content(content)
|
msg.set_content(content)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user