From 5e8cd98d1b79d0084d0e936573c731feb67bda01 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 02 Jan 2012 13:32:24 -0500
Subject: [PATCH] Fixed: FS#1939 - Alias Domain Still Redirecting After Change - Set auto subdomain www as default for alias domains.

---
 interface/lib/classes/functions.inc.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/interface/lib/classes/functions.inc.php b/interface/lib/classes/functions.inc.php
index 2102992..3e926ae 100644
--- a/interface/lib/classes/functions.inc.php
+++ b/interface/lib/classes/functions.inc.php
@@ -73,6 +73,8 @@
 			mail($to, $subject, "", $header);
 		} else {
 			$header = "From: $from\nReply-To: $from\n";
+			$header .= "Content-Type: text/plain;\n\tcharset=\"UTF-8\"\n";
+			$header .= "Content-Transfer-Encoding: 8bit\n\n";
 			mail($to, $subject, $text, $header);
 		}
 

--
Gitblit v1.9.1