Bug #23277 » class.t3lib_utility_mail.php.trunc.patch
class.t3lib_utility_mail.php 2010-11-08 21:17:24 +0300 | ||
---|---|---|
$success = $success && t3lib_div::callUserFunction($hookMethod, $parameters, $fakeThis);
|
||
}
|
||
} else {
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
|
||
if (t3lib_utility_PhpOptions::isSafeModeEnabled() && !empty($additionalParameters))
|
||
{
|
||
t3lib_div::sysLog('Additional parameters to sendmail are not allowed if PHP safe mode is on.', 'Core', 2);
|
||
$additionalParameters = null;
|
||
}
|
||
if (empty($additionalParameters))
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders);
|
||
else
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
|
||
}
|
||
if (!$success) {
|
- « Previous
- 1
- 2
- Next »