Skip to content

Commit f682c33

Browse files
committed
Fixed: FS#1707 - Text in welcome mailing gets cut off
1 parent 2b747a7 commit f682c33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/plugins-available/mail_plugin.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ function user_insert($event_name,$data) {
185185
$mailHeaders .= "From: $welcome_mail_from" . "\n";
186186
$mailHeaders .= "Reply-To: $welcome_mail_from" . "\n";
187187
$mailTarget = $data["new"]["email"];
188-
$mailSubject = "=?utf-8?Q?" . imap_8bit($welcome_mail_subject) . "?=";
188+
// $mailSubject = "=?utf-8?Q?" . imap_8bit($welcome_mail_subject) . "?=";
189+
$mailSubject = "=?utf-8?B?".base64_encode($welcome_mail_subject)."?=";
189190

190191
mail($mailTarget, $mailSubject, $welcome_mail_message, $mailHeaders);
191192

0 commit comments

Comments
 (0)