Bug #23277 » class.t3lib_utility_mail.php.4_4.patch
class.t3lib_utility_mail.php 2010-11-08 20:59:07 +0300 | ||
---|---|---|
$success = $success && t3lib_div::callUserFunction($hookMethod, $parameters, $fakeThis);
|
||
}
|
||
} else {
|
||
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
|
||
if (ini_get('safe_mode') && !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) {
|