Skip to content

Commit 510f1d0

Browse files
AntennipasiAntennipasi
authored andcommitted
replaced windows linebreaks with *nix ones.
1 parent 0d2db5a commit 510f1d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

interface/web/mail/mail_user_edit.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@ function onAfterInsert() {
207207
$iconvPreferences = array("input-charset" => $fromCharset,
208208
"output-charset" => "ISO-8859-1",
209209
"line-length" => 76,
210-
"line-break-chars" => "\r\n",
210+
"line-break-chars" => "\n",
211211
"scheme" => "Q");
212212

213213
$welcomeFromName = $app->tform->wordbook["welcome_mail_fromname_txt"];
214214
$welcomeFromEmail = $app->tform->wordbook["welcome_mail_fromemail_txt"];
215-
$mailHeaders = "MIME-Version: 1.0" . "\r\n";
216-
$mailHeaders .= "Content-type: text/plain; charset=iso-8859-1" . "\r\n";
217-
$mailHeaders .= "From: $welcomeFromName <$welcomeFromEmail>" . "\r\n";
218-
$mailHeaders .= "Reply-To: <$welcomeFromEmail>" . "\r\n";
215+
$mailHeaders = "MIME-Version: 1.0" . "\n";
216+
$mailHeaders .= "Content-type: text/plain; charset=iso-8859-1" . "\n";
217+
$mailHeaders .= "From: $welcomeFromName <$welcomeFromEmail>" . "\n";
218+
$mailHeaders .= "Reply-To: <$welcomeFromEmail>" . "\n";
219219
$mailTarget = $this->dataRecord["email"];
220220
$mailSubject = iconv_mime_encode("trimoff", $app->tform->wordbook["welcome_mail_subject"], $iconvPreferences);
221221
$mailSubject = str_replace("trimoff: ", "", $mailSubject);

0 commit comments

Comments
 (0)