title: Can we hook PHP mail() function
body: <p>Can we hook PHP mail() function, Like when the mail function call we call our function before sending emails. I need to perform some action between mail function calling and sending. </p>