Allow to override internal mail routine
This commit is contained in:
parent
7300925ce7
commit
58117f3b77
@ -538,7 +538,10 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL
|
||||
fwrite($fp, date('Y-m-d H:i') . "\n" . print_r($maildata, true));
|
||||
fclose($fp);
|
||||
}
|
||||
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']));
|
||||
|
||||
if (!isset($maildata['skip_native'])) {
|
||||
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user