Browse Source

Use webmail alias in UI

Kristan Kenney 6 years ago
parent
commit
058542fb91
2 changed files with 2 additions and 2 deletions
  1. 1 1
      web/templates/admin/add_mail_acc.html
  2. 1 1
      web/templates/admin/edit_mail_acc.html

+ 1 - 1
web/templates/admin/add_mail_acc.html

@@ -190,7 +190,7 @@
                         </tr>
                         <?
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                            $webmail = "http://webmail.".$v_domain."/";
+                            $webmail = "http://".$v_webmail_alias.".".$v_domain."/";
                         ?>
                         <tr>
                             <td><?=__('Webmail URL')?>:</td>

+ 1 - 1
web/templates/admin/edit_mail_acc.html

@@ -201,7 +201,7 @@
                         </tr>
                         <?
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                            $webmail = "http://webmail.".$v_domain."/";
+                            $webmail = "http://".$v_webmail_alias.".$v_domain."/";
                         ?>
                         <tr>
                             <td><?=__('Webmail URL')?>:</td>