Bug #23925 » 16231_03-trunk.diff
t3lib/utility/class.t3lib_utility_mail.php (working copy) | ||
---|---|---|
$success = $success && t3lib_div::callUserFunction($hookMethod, $parameters, $fakeThis);
|
||
}
|
||
} else {
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
|
||
if (t3lib_utility_PhpOptions::isSafeModeEnabled() && !is_null($additionalParameters)) {
|
||
$additionalParameters = null;
|
||
}
|
||
if (is_null($additionalParameters)) {
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders);
|
||
} else {
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
|
||
}
|
||
}
|
||
if (!$success) {
|