spf-dkim-dmarc-demo/console/web-api/views/sender/send-email.tt

29 lines
1002 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="container">
[% IF success == 'success' %]
<div class="alert alert-success">
<p>Le courriel a bien été envoyé.</p>
<a class="btn btn-outline-success" href="[% request.uri_base %]/recipient/webmail">Relever les courriels du destinataire</a>
</div>
[% ELSIF success == 'failure' %]
<div class="alert alert-danger">
Une erreur est survenue lors de lenvoi du courriel.
</div>
[% END %]
<h1>Système de-mailing</h1>
<div class="row mt-3">
[% FOR email_data %]
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-4 mb-3">
<div class="card">
<h5 class="card-header">[% what | html %]</h5>
<div class="card-body">
<p class="card-text">
Expéditeur: [% from | html %]
</p>
<a href="[% request.uri_base %]/sender/send-email/[% url | html %]" class="btn btn-secondary">Envoyer</a>
</div>
</div>
</div>
[% END %]
</div>
</div>