diff --git a/src/js/client.js b/src/js/client.js index b00f5aa2a..08990f31d 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -2570,13 +2570,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }); }; - Client.prototype.updateMailbox = function (domain, name, ownerId, ownerType, active, callback) { - var data = { - ownerId: ownerId, - ownerType: ownerType, - active: active - }; - + Client.prototype.updateMailbox = function (domain, name, data, callback) { post('/api/v1/mail/' + domain + '/mailboxes/' + name, data, null, function (error, data, status) { if (error) return callback(error); if (status !== 204) return callback(new ClientError(status, data)); diff --git a/src/translation/en.json b/src/translation/en.json index ea4a5b838..68a3b161e 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -1180,7 +1180,8 @@ "activeCheckbox": "Mailing list is active" }, "updateMailboxDialog": { - "activeCheckbox": "Mailbox is active" + "activeCheckbox": "Mailbox is active", + "enablePop3": "Enable POP3 access" } }, "app": { diff --git a/src/views/email.html b/src/views/email.html index bf3ab5a75..6beed05e7 100644 --- a/src/views/email.html +++ b/src/views/email.html @@ -152,6 +152,12 @@ +
+ +
+