{{ __('SES Options', 'aws-auto-ses') }}

{% if region %}

{{ __("Using AWS region %s.", 'aws-auto-ses')|format(region|e)|raw }}

{% if identityVerificationError.code == 'AccessDenied' %}

{{ __("Not authorized to verify the sender email.", 'aws-auto-ses')|raw }}

{% elseif identityVerificationError %}

{{ identityVerificationError.message }}

{% else %} {% if identityVerification.verified and identityVerification.scope == 'email' %}

{{ __("Sender %s is verified.", 'aws-auto-ses')|format(identityVerification.email|e)|raw }}

{% elseif identityVerification.verified and identityVerification.scope == 'domain' %}

{{ __("Sender %s's domain is verified.", 'aws-auto-ses')|format(identityVerification.email|e)|raw }}

{% else %}

{{ __("The sender email %s is not verified for use in SES. Please verify it or its domain or use the sender address option to change the address used.", 'aws-auto-ses')|format(identityVerification.email|e)|raw }}

{% endif %} {% endif %}
{% if enable.error %}

{{ enable.error }}

{% endif %} {% if enabled %} {{ submit_button(__('Disable SES', 'aws-auto-ses'), 'secondary', 'submit', true, canEnable ?: {'disabled': true})|raw }} {% else %} {% if canEnable %}

A test email will be sent to your address to verify that SES works.

{% endif %} {{ submit_button(__('Enable SES', 'aws-auto-ses'), 'primary', 'submit', true, canEnable ?: {'disabled': true})|raw }} {% endif %}
{{ settings_fields('aws-auto-ses-settings')|raw }} {{ do_settings_sections('aws-auto-ses-options')|raw }} {{ submit_button()|raw }}

Identities

{% if identityRequestError.code == 'AccessDenied' %}

{{ __("Grant ses:ListIdentities to this server's role to see this list.", 'aws-auto-ses')|raw }}

{% elseif identityRequestError %}

{{ identityRequestError.message }}

{% else %} {% for identity in identities %} {% endfor %}
{{ __("Identity", 'aws-auto-ses') }} {{ __("Type", 'aws-auto-ses') }} {{ __("Verification status", 'aws-auto-ses') }}
{{ identity.text }} {{ identity.type }} {{ identity.verified|default('Unknown') }}
{% if moreIdentities %} {{ __('There are more verified identities. Visit the dashboard to see the rest.', 'aws-auto-ses')|format(dashboardLink|e('html_attr'))|raw }} {% else %} {{ __('Visit the dashboard to remove or verify new identities.', 'aws-auto-ses')|format(dashboardLink|e('html_attr'))|raw }} {% endif %}
{% endif %}

Send test email

{% if testemail %} {% if testemail.result %}

{{ __("Test email sent successfully.", 'aws-auto-ses') }}

{% else %}

{{ __("Failed to send test email:", 'aws-auto-ses') }}

{{ testemail.error }}

{% endif %} {% endif %}
{{ submit_button(__('Send', 'aws-auto-ses'), 'primary', 'submit', false)|raw }}
{% else %}

{{ __("This plugin must be run from an EC2 server.", 'aws-auto-ses') }}

{% endif %}