{% extends "base.html" %} {% import "_fields.html" as fm %} {% block main %}

Notifications

How the back office reaches the team and the clients. Every message it sends, or fails to send, is in the log below.

{% if result %}

{% if result.status == "sent" %}The test mail went out{% else %}The test mail did not go out{% endif %}

{% if result.status == "sent" %}The mail server took the mail for {{ result.recipient }}. Check that inbox, and its spam folder the first time.{% else %}To {{ result.recipient }}: the mail server or the connection refused it.{% endif %}

{{ result.detail }}

{% endif %}

Email

{% if mail %}set up{% else %}not set up{% endif %}
{% if mail %}
Sent as
{{ mail.from }}
{% if mail.reply_to %}
Replies go to
{{ mail.reply_to }}
{% endif %}
Mail server
{{ mail.server }}
Connection
{{ mail.security }}
{{ fm.text("to", "Send a test to", address, err=error, req=true, type="email", cls="wide", ph="you@example.com", hint="One address. The mail says who sent the test and when.") }}
{% else %}

This server has no mail server set. On the fleet, the app sends as reminders@lannadesk.com through mail.lannadesk.com once its password is passed to the service.

{% if error %}

{{ error }}

{% endif %} {% endif %}

Text messages

not yet

A provider for text messages to Thai and foreign numbers is being chosen. Reminders go by email first.

The journal's daily anchor

{% if anchor_to %}on{% else %}nobody set{% endif %}

Every day from {{ anchor_hour }}:00 Chiang Mai time, the journal's last entry number and its hash go by mail to the addresses below, when something was added since the last one. Kept outside the server, those mails show later that nobody rebuilt the journal. Each mail links to Check an anchor.

{% if anchor_done %}

{{ anchor_done }}

{% endif %}
{{ fm.text("anchor_to", "Send it to", anchor_to, err=anchor_error, cls="wide", ph="lead@example.com, notary@example.com", hint="Addresses outside this server, separated by commas: a partner, the firm's lead, an archive mailbox elsewhere. Changes go into the journal.") }}
{% if mail and anchor_to %}{% endif %}
{% if anchors %}
{% for a in anchors %} {% endfor %}
DayEntry and hashHow it went
{{ a.day }}
{{ a.how }}, {{ a.at }}
{{ a.seq }} {{ a.hash[:16] }}…{% if not a.whole %} chain broken{% endif %} {{ a.status }}{% if a.recipients %}
{{ a.recipients }}
{% endif %}
{% endif %}

Log

{% if log %}
{% for l in log %} {% endfor %}
WhenToWhatHow it went
{{ l.at }}
{{ l.actor }}
{{ l.recipient }}
{{ l.channel }}
{{ l.subject }}
{{ l.purpose }}
{{ l.status }}
{{ l.detail[:120] }}
{% else %}

Nothing sent yet.

{% endif %} {% endblock %}