{% extends "withnav_template.html" %} {% from "components/api-key.html" import api_key %} {% from "components/page-header.html" import page_header %} {% from "components/table.html" import row_group, row, text_field, edit_field, field, boolean_field, list_table with context %} {% from "components/button/macro.njk" import govukButton %} {% block service_page_title %} Reply-to email addresses {% endblock %} {% block maincolumn_content %} {{ page_header( 'Reply-to email addresses', back_link=url_for('main.service_settings', service_id=current_service.id) ) }}
{% if not current_service.email_reply_to_addresses %}
You have not added any reply-to email addresses yet
{% endif %} {% for item in current_service.email_reply_to_addresses %}

{{ item.email_address }} {%- if item.is_default -%} (default) {% endif %}

{% if current_user.has_permissions('manage_service') %} Change {% endif %} {% if current_service.count_email_reply_to_addresses > 1 %} {{ api_key(item.id, thing="ID") }} {% endif %}
{% endfor %}
{% if current_user.has_permissions('manage_service') %}
{{ govukButton({ "element": "a", "text": "Add reply-to email address", "href": url_for('.service_add_email_reply_to', service_id=current_service.id), }) }}
{% endif %}

You need to add at least one reply-to address so recipients can reply to your messages.

Emails with a reply-to address:

{% endblock %}