Add option to delete mails

Part of cloudron/box#720
This commit is contained in:
Girish Ramakrishnan
2020-07-27 22:36:38 -07:00
parent c0dad4f5a0
commit 05de8b54ec
3 changed files with 21 additions and 4 deletions

View File

@@ -183,7 +183,14 @@
<h4 class="modal-title">Delete mailbox {{ mailboxes.remove.mailbox.name }}@{{domain.domain}}</h4>
</div>
<div class="modal-body">
<p>After deletion, emails to this mailbox will bounce. Note that the mailbox data is not removed.</p>
<p>After deletion, emails to this mailbox will bounce. You can choose to keep emails on the server for archival purposes.
<sup><a ng-href="{{ config.webServerOrigin }}/documentation/email/#archived-mails" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup>
</p>
<p class="checkbox">
<label>
<input type="checkbox" ng-model="mailboxes.remove.deleteMails">Delete all mails inside this mailbox</input>
</label>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>