{% extends "base.html" %} {% from "components/ui.html" import action, ago, breadcrumb, empty, filter_bar, link_button, pager with context %} {% block title %}Outbox · {{ account.email }} · {{ APP_NAME }}{% endblock %} {% block heading %}Outbox{% endblock %} {% block subheading %}{{ breadcrumb(trail) }}{% endblock %} {% block actions %} {% if can_drafts %}{{ link_button("/ui/accounts/" ~ account.id ~ "/drafts", "Drafts", "pencil") }}{% endif %} {% endblock %} {% block content %} {% if not keeps_drafts %}
A send in the outbox waits as a draft in the drafts folder and goes out in the background, tried again for 48 hours while the mail server is away. Times are UTC.
| Queued | To | Due | State | Tries | |
|---|---|---|---|---|---|
| {{ ago(job.created_at) }} | {{ job.recipients | join(", ") }} | {% if job.state in ("queued", "copying") %}{{ job.due_at | when }}{% else %}—{% endif %} | {% if job.state == "sent" %}sent {% elif job.state in ("queued", "sending", "copying") %}{{ job.state }} {% elif job.state == "cancelled" %}cancelled {% elif job.state == "unknown" %}unknownWhether it went out cannot be told. It is not sent again, and its draft stays: look whether it arrived. {% else %}failed{% endif %} {% if job.last_error and job.state != "sent" %}{{ job.last_error }}{% endif %} | {{ job.attempts }} | {% if job.state == "queued" and (can_cancel_any or (can_cancel_own and job.user_id == me_id)) %} {{ action("/ui/accounts/" ~ account.id ~ "/outbox/" ~ job.id ~ "/cancel", "Cancel send", confirm="Cancel this send? Its draft stays in the drafts folder.", icon="x-lg", alone=True) }} {% endif %} |