Take into account mailbox in contact manager and improve wording.

This commit is contained in:
Son NK 2020-02-10 23:18:19 +07:00
parent 4545e0a7d6
commit b5d961a498
2 changed files with 16 additions and 5 deletions

View file

@ -15,13 +15,23 @@
<div class="alert alert-primary" role="alert">
<p>
To send an email from your alias, just send the email to a special email address that we call
<em>reverse-alias</em>
and SimpleLogin will send it from the alias to the destination.
To send an email from your alias to someone, says <b>friend@example.com</b>, you need to: <br>
1. Create a special email address called <em>reverse-alias</em> for friend@example.com using the form below <br>
2. Send the email to the reverse-alias <em>instead of</em> friend@example.com
<br>
3. SimpleLogin will send this email from the alias to friend@example.com for you
</p>
<p>
Make sure you send the email from your personal email address ({{ current_user.email }}).
This special email address can <em>only</em> be used by you.
This might sound complicated but trust us, only the first time is a bit awkward.
</p>
<p>
{% if gen_email.mailbox_id %}
Make sure you send the email from the mailbox <b>{{ gen_email.mailbox.email }}</b>.
This is because only the mailbox that owns the alias can send emails from it.
{% else %}
Make sure you send the email from your personal email address ({{ current_user.email }}).
{% endif %}
</p>
</div>

View file

@ -141,6 +141,7 @@ def alias_contact_manager(alias_id, forward_email_id=None):
"dashboard/alias_contact_manager.html",
forward_emails=forward_emails,
alias=gen_email.email,
gen_email=gen_email,
new_contact_form=new_contact_form,
forward_email_id=forward_email_id,
)