Skip to content

Commit 752b269

Browse files
committed
Fixed: FS#1515 - Special characters (Umlaut) in "welcome_mail_message" string get cut off
1 parent d363fee commit 752b269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/mail/mail_user_edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ function onAfterInsert() {
263263
$global_config = $app->getconf->get_global_config('mail');
264264
if(!empty($global_config['admin_mail']))$welcomeFromEmail = $global_config['admin_mail'];
265265
if(!empty($global_config['admin_name']))$welcomeFromName = $global_config['admin_name'];
266-
266+
267267
$mailHeaders = "MIME-Version: 1.0" . "\n";
268268
$mailHeaders .= "Content-type: text/plain; charset=utf-8" . "\n";
269269
$mailHeaders .= "Content-Transfer-Encoding: 8bit" . "\n";
270270
$mailHeaders .= "From: $welcomeFromName <$welcomeFromEmail>" . "\n";
271271
$mailHeaders .= "Reply-To: <$welcomeFromEmail>" . "\n";
272272
$mailTarget = $this->dataRecord["email"];
273-
274273
$mailSubject = "=?utf-8?Q?" . imap_8bit($app->tform->lng("welcome_mail_subject")) . "?=";
274+
275275
$mailBody = $app->tform->lng("welcome_mail_message");
276276

277277
mail($mailTarget, $mailSubject, $mailBody, $mailHeaders);

0 commit comments

Comments
 (0)