This commit is contained in:
Girish Ramakrishnan
2018-02-03 18:09:41 -08:00
parent cd6af57a6e
commit 2b355f6ee4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1102,7 +1102,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
to: to
};
post('/api/v1/cloudron/' + domain + '/send_test_mail', data).success(function(data, status) {
post('/api/v1/mail/' + domain + '/send_test_mail', data).success(function(data, status) {
if (status !== 202) return callback(new ClientError(status, data));
callback(null);
}).error(defaultErrorHandler(callback));
+1 -1
View File
@@ -189,7 +189,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
$scope.testEmail.error = {};
$scope.testEmail.busy = true;
Client.sendTestEmail($scope.selectedDomain.domain, $scope.testEmail.mailTo, function (error) {
Client.sendTestMail($scope.selectedDomain.domain, $scope.testEmail.mailTo, function (error) {
$scope.testEmail.busy = false;
if (error) {