tbrehm
2011-09-07 6d49fc6acc8b2a137ed978b9cc30ceb723a6b631
Fixes in welcome email.
2 files modified
9 ■■■■■ changed files
server/conf/mail/welcome_email_en.txt 1 ●●●● patch | view | raw | blame | history
server/plugins-available/mail_plugin.inc.php 8 ●●●●● patch | view | raw | blame | history
server/conf/mail/welcome_email_en.txt
@@ -1,3 +1,4 @@
From: ISPConfig <postmaster@localhost.localdomain>
Subject: Welcome to your new email account.
Welcome to your new email account. Your webmaster.
server/plugins-available/mail_plugin.inc.php
@@ -169,8 +169,10 @@
            $tmp = file($conf['rootpath'].'/conf/mail/welcome_email_en.txt');
        }
        
        $welcome_mail_subject  = trim(substr($tmp[0],8));
        $welcome_mail_from  = trim(substr($tmp[0],5));
        $welcome_mail_subject  = trim(substr($tmp[1],8));
        unset($tmp[0]);
        unset($tmp[1]);
        $welcome_mail_message = trim(implode($tmp));
        unset($tmp);
        
@@ -180,8 +182,8 @@
        $mailHeaders      = "MIME-Version: 1.0" . "\n";
        $mailHeaders     .= "Content-type: text/plain; charset=utf-8" . "\n";
        $mailHeaders     .= "Content-Transfer-Encoding: 8bit" . "\n";
        $mailHeaders     .= "From: $welcomeFromName <$welcomeFromEmail>" . "\n";
        $mailHeaders     .= "Reply-To: <$welcomeFromEmail>" . "\n";
        $mailHeaders     .= "From: $welcome_mail_from" . "\n";
        $mailHeaders     .= "Reply-To: $welcome_mail_from" . "\n";
        $mailTarget       = $data["new"]["email"];
        $mailSubject = "=?utf-8?Q?" . imap_8bit($welcome_mail_subject) . "?=";