forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestemail.html
More file actions
30 lines (22 loc) · 874 Bytes
/
testemail.html
File metadata and controls
30 lines (22 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% block title %}Set up test email address{% endblock %}
{% block content %}
{% origin %}
<h1>Set up test email address</h1>
<p>Since this server is running in test mode, all email to be sent out
is intercepted and thrown away.</p>
<p>To receive a copy of each message before it's thrown away, you can
set an email address below. The address is stored in the <code>testmailcc</code>
cookie in your browser. So make sure cookies are enabled.</p>
<p>Value of <code>testmailcc</code>: {{ cookie }}</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button class="btn btn-primary" type="submit">Set cookie</button>
{% endbuttons %}
</form>
{% endblock %}