Bug #35587 » 35587_t3lib.diff
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);
|
||
... | ... | |
}
|
||
}
|
||
?>
|
||
?>
|