2022-03-30 12:54:38 +02:00
|
|
|
<div role="tabpanel" class="tab-pane fade" id="tab-sys-mails" role="tabpanel" aria-labelledby="tab-sys-mails">
|
2022-06-06 20:38:24 +02:00
|
|
|
<div class="card mb-4">
|
|
|
|
<div class="card-header d-flex">
|
|
|
|
<button class="btn d-md-none flex-grow-1 text-start" data-bs-target="#collapse-tab-sys-mails" data-bs-toggle="collapse" aria-controls="ollapse-tab-sys-mails">
|
|
|
|
{{ lang.admin.sys_mails }}
|
|
|
|
</button>
|
|
|
|
<span class="d-none d-md-block">{{ lang.admin.sys_mails }}</span>
|
|
|
|
</div>
|
|
|
|
<div id="collapse-tab-sys-mails" class="card-body collapse" data-bs-parent="#admin-content">
|
2021-09-22 20:47:10 +02:00
|
|
|
<form class="form-horizontal" autocapitalize="none" data-id="admin" autocorrect="off" role="form" method="post">
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-2">
|
|
|
|
<label class="control-label col-sm-2 text-sm-end" for="admin_mass_from">{{ lang.admin.from }}:</label>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="email" class="form-control" id="admin_mass_from" name="mass_from" value="noreply@{{ mailcow_hostname }}" required>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-4">
|
|
|
|
<label class="control-label col-sm-2 text-sm-end" for="admin_mass_subject">{{ lang.admin.subject }}:</label>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="text" class="form-control" id="admin_mass_subject" name="mass_subject" required>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% for domain in all_domains %}
|
|
|
|
|
|
|
|
{% endfor %}
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-4">
|
|
|
|
<label class="control-label col-sm-2 text-sm-end" for="mass_subject">{{ lang.admin.include_exclude }}:
|
2022-03-31 12:57:33 +02:00
|
|
|
<p class="text-muted">{{ lang.admin.include_exclude_info|raw }}</p>
|
2021-09-22 20:47:10 +02:00
|
|
|
</label>
|
|
|
|
<div class="col-sm-5">
|
|
|
|
<label class="control-label" for="mass_exclude">{{ lang.admin.excludes }}:</label>
|
|
|
|
<select id="mass_exclude" name="mass_exclude[]" data-live-search="true" data-width="100%" size="30" multiple>
|
|
|
|
{% for mailbox in mailboxes %}
|
|
|
|
<option>{{ mailbox }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-5">
|
|
|
|
<label class="control-label" for="mass_include">{{ lang.admin.includes }}:</label>
|
|
|
|
<select id="mass_include" name="mass_include[]" data-live-search="true" data-width="100%" size="30" multiple>
|
|
|
|
{% for mailbox in mailboxes %}
|
|
|
|
<option>{{ mailbox }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-2">
|
|
|
|
<label class="control-label col-sm-2 text-sm-end" for="mass_text">{{ lang.admin.text }}:</label>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" rows="10" name="mass_text" id="mass_text" required></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-4">
|
|
|
|
<label class="control-label col-sm-2 text-sm-end" for="mass_html">{{ lang.admin.html }} ({{ lang.admin.optional }}):</label>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" rows="10" name="mass_html" id="mass_html"></textarea>
|
|
|
|
<p class="small"><i class="bi bi-arrow-return-right"></i> <a target="_blank" href="https://templates.mailchimp.com/resources/html-to-text/">{{ lang.admin.convert_html_to_text }}</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-2">
|
2022-04-01 07:33:01 +02:00
|
|
|
<div class="offset-sm-2 col-sm-10">
|
2021-09-22 20:47:10 +02:00
|
|
|
<label>
|
|
|
|
<input type="checkbox" id="mass_disarm"> {{ lang.admin.activate_send }}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-2">
|
2022-04-01 07:33:01 +02:00
|
|
|
<div class="offset-sm-2 col-sm-10">
|
2022-03-31 15:24:10 +02:00
|
|
|
<button class="btn btn-sm d-block d-sm-inline btn-success" type="submit" id="mass_send" name="mass_send" disabled><i class="bi bi-envelope-fill"></i> {{ lang.admin.send }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|