diff --git a/src/views/email.html b/src/views/email.html index ebc01a55b..e1fc3d006 100644 --- a/src/views/email.html +++ b/src/views/email.html @@ -532,6 +532,18 @@
+
+
+

Email Server Logs

+

+ Logs are for all email domains on this Cloudron. +

+ +
+
+ +
+

SMTP Status

diff --git a/src/views/email.js b/src/views/email.js index 77a479e98..9752c9bdd 100644 --- a/src/views/email.js +++ b/src/views/email.js @@ -30,6 +30,10 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio { name: 'PTR', value: 'ptr' } ]; + $scope.showLogs = function () { + window.open('/logs.html?id=mail', 'Logs', 'width=1024,height=800').focus(); + }; + $scope.showView = function (view) { // wait for dialog to be fully closed to avoid modal behavior breakage when moving to a different view already $('.modal').on('hidden.bs.modal', function () {