Project

General

Profile

Bug #35587 » 35587_t3lib.diff

/t3lib/ part - Christoph Buchli, 2012-04-03 09:47

View differences:

t3lib/utility/class.t3lib_utility_mail.php (working copy)
if (t3lib_utility_PhpOptions::isSafeModeEnabled() && !is_null($additionalParameters)) {
$additionalParameters = null;
}
// Prevent message from breaking by SMTP-syntaxed End of Mail: "\n.\n".
$messageBody = preg_replace('/^\.$/m','. ',$messageBody);
if (is_null($additionalParameters)) {
$success = @mail($to, $subject, $messageBody, $additionalHeaders);
......
}
}
?>
?>
(1-1/2)