Archived
Allow to override internal mail routine
This commit is contained in:
@@ -538,8 +538,11 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL
|
|||||||
fwrite($fp, date('Y-m-d H:i') . "\n" . print_r($maildata, true));
|
fwrite($fp, date('Y-m-d H:i') . "\n" . print_r($maildata, true));
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($maildata['skip_native'])) {
|
||||||
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']));
|
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch all references (links) from a given entry ID
|
* Fetch all references (links) from a given entry ID
|
||||||
|
|||||||
Reference in New Issue
Block a user