diff --git a/app/dashboard/templates/dashboard/alias_contact_manager.html b/app/dashboard/templates/dashboard/alias_contact_manager.html index b93e5794..b27071a3 100644 --- a/app/dashboard/templates/dashboard/alias_contact_manager.html +++ b/app/dashboard/templates/dashboard/alias_contact_manager.html @@ -26,7 +26,15 @@
{% if alias.mailbox_id %}
- Make sure you send the email from the mailbox {{ alias.mailbox.email }}.
+
+ {% if alias.mailboxes | length == 1 %}
+ Make sure you send the email from the mailbox {{ alias.mailbox.email }}.
+ {% else %}
+ Make sure you send the email from one of the following mailboxes:
+ {% for mailbox in alias.mailboxes %}
+ - {{ mailbox.email }}
+ {% endfor %}
+ {% endif %}
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 }}).