mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
64 lines
1.8 KiB
HTML
64 lines
1.8 KiB
HTML
<!--TODO add translations for: configure your client, Incoming mail and Outgoing mail-->
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Client setup{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
configure your email client
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% call macros.table(title="Incoming mail", datatable=False) %}
|
|
<tbody>
|
|
<tr>
|
|
<th>{% trans %}Mail protocol{% endtrans %}</th>
|
|
<td>IMAP</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}TCP port{% endtrans %}</th>
|
|
<td>{{ "143" if config["TLS_FLAVOR"] == "notls" else "993 (TLS) or 143 (STARTTLS)" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
|
<td><pre>{{ config["HOSTNAMES"].split(',')[0] }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
|
<td><pre>{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
|
<td><pre>*******</pre></td>
|
|
</tr>
|
|
</tbody>
|
|
{% endcall %}
|
|
|
|
{% call macros.table(title="Outgoing mail", datatable=False) %}
|
|
<tbody>
|
|
<tr>
|
|
<th>{% trans %}Mail protocol{% endtrans %}</th>
|
|
<td>SMTP</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}TCP port{% endtrans %}</th>
|
|
<td>{{ "25" if config["TLS_FLAVOR"] == "notls" else "465 (TLS) or 587 (STARTTLS)" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
|
<td><pre>{{ config["HOSTNAMES"].split(',')[0] }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
|
<td><pre>{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
|
<td><pre>*******</pre></td>
|
|
</tr>
|
|
</tbody>
|
|
{% endcall %}
|
|
{% endblock %}
|